Make WordPress Core

Changeset 1323


Ignore:
Timestamp:
05/20/2004 11:32:14 AM (20 years ago)
Author:
saxmatt
Message:

Don't try to show keys if there aren't any.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r1316 r1323  
    272272</tr>
    273273    <tr valign="top">
    274         <td align="right" width="18%"><select id="metakeyselect" name="metakeyselect" tabindex="7">
     274        <td align="right" width="18%">
     275<?php if ($keys) : ?>
     276<select id="metakeyselect" name="metakeyselect" tabindex="7">
    275277<option value="#NONE#">- Select -</option>
    276278<?php
     
    279281    }
    280282?>
    281 </select> or </td>
     283</select> or
     284<?php endif; ?>
     285</td>
    282286<td><input type="text" id="metakeyinput" name="metakeyinput" tabindex="7" /></td>
    283287        <td><textarea id="metavalue" name="metavalue" rows="3" cols="25" tabindex="7"></textarea></td>
Note: See TracChangeset for help on using the changeset viewer.