Make WordPress Core


Ignore:
Timestamp:
04/19/2004 08:09:27 AM (21 years ago)
Author:
saxmatt
Message:

Massive admin tweak commit. Improved consistency, numerous bug fixes, redesigned link forms, tweaked options more, left the ugly grey bar I didn't mean to add in the first place but tweaked it too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-add.php

    r1076 r1100  
    33$title = 'Add Link';
    44$this_file = 'link-manager.php';
     5$parent_file = 'link-manager.php';
    56
    67function category_dropdown($fieldname, $selected = 0) {
     
    8485         </tr>
    8586         <tr>
    86             <th scope="row">Description:</th>
     87            <th scope="row">Short description:</th>
    8788            <td><input type="text" name="description" value="" style="width: 95%" /></td>
    8889            </tr>
     
    9495</fieldset>
    9596       <p class="submit">
    96          <input type="submit" name="submit" value="Add Link &raquo;" >
     97         <input type="submit" name="submit" value="Add Link &raquo;" />
    9798       </p>
    9899    <fieldset class="options">
     
    189190</fieldset>
    190191       <p class="submit">
    191          <input type="submit" name="submit" value="Add Link &raquo;" >
     192         <input type="submit" name="submit" value="Add Link &raquo;" />
    192193       </p>
    193194<fieldset class="options">
     
    195196        <table class="editform" width="100%" cellspacing="2" cellpadding="5">
    196197         <tr>
    197            <th width="33%" scope="row">Image:</th>
    198            <td width="67%"><input type="text" name="image" size="50" value=""></td>
     198           <th width="33%" scope="row">Image URI:</th>
     199           <td width="67%"><input type="text" name="image" size="50" value="" style="width: 95%" /></td>
    199200         </tr>
    200201<tr>
    201202           <th scope="row">RSS URI: </th>
    202            <td><input name="rss_uri" type="text" id="rss_uri" value="" size="50"></td>
    203          </tr>
    204          <tr>
    205            <th scope="row">Description</th>
    206            <td>&nbsp;</td>
     203           <td><input name="rss_uri" type="text" id="rss_uri" value="" size="50" style="width: 95%" /></td>
    207204         </tr>
    208205         <tr>
    209206           <th scope="row">Notes:</th>
    210            <td><textarea name="notes" cols="50" rows="10"></textarea></td>
     207           <td><textarea name="notes" cols="50" rows="10" style="width: 95%"></textarea></td>
    211208         </tr>
    212209         <tr>
     
    224221           <th scope="row">Target</th>
    225222           <td><label>
    226              <input type="radio" name="target" value="_blank">
     223             <input type="radio" name="target" value="_blank" />
    227224             <code>_blank</code></label>
    228 &nbsp;
    229 <label>
    230 <br>
    231 <input type="radio" name="target" value="_top">
     225<br />
     226<label><input type="radio" name="target" value="_top" />
    232227<code>_top</code></label>
    233 &nbsp;
    234 <label>
    235 <br>
    236 <input type="radio" name="target" value="" checked="checked">
     228<br />
     229<label><input type="radio" name="target" value="" checked="checked" />
    237230none</label>
    238231(Note that the <code>target</code> attribute is illegal in XHTML 1.1 and 1.0 Strict.)</td>
     
    241234           <th scope="row">Visible:</th>
    242235           <td><label>
    243              <input type="radio" name="visible" checked="checked" value="Y">
    244 Yes</label><label><br>
    245 <input type="radio" name="visible" value="N"> <input type="hidden" name="action" value="Add" />
     236             <input type="radio" name="visible" checked="checked" value="Y" />
     237Yes</label><br />
     238<label><input type="radio" name="visible" value="N"> <input type="hidden" name="action" value="Add" />
    246239No</label></td>
    247240         </tr>
     
    250243
    251244       <p class="submit">
    252          <input type="submit" name="submit" value="Add Link &raquo;" >
     245         <input type="submit" name="submit" value="Add Link &raquo;" />
    253246       </p>
    254247  </form>
Note: See TracChangeset for help on using the changeset viewer.