Make WordPress Core


Ignore:
Timestamp:
03/07/2008 10:05:54 AM (18 years ago)
Author:
matt
Message:

A number of style tweaks; widen up a little; starting to add contextual help to various forms; catching up unloved forms with new UI guidelines.

File:
1 edited

Legend:

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

    r7104 r7181  
    7272<h3><?php _e('Name') ?></h3>
    7373<div class="inside">
    74     <input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" />
     74    <input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" /><br />
     75    <?php _e('Example: Nifty blogging software'); ?>
    7576</div>
    7677</div>
    7778
    7879<div id="addressdiv" class="stuffbox">
    79 <h3><?php _e('Address') ?></h3>
    80 <div class="inside">
    81     <input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" />
     80<h3><?php _e('Web Address') ?></h3>
     81<div class="inside">
     82    <input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" /><br />
     83    <?php _e('Example: <code>http://wordpress.org/</code> &#8212; don&#8217;t forget the <code>http://</code>'); ?>
    8284</div>
    8385</div>
     
    8688<h3><?php _e('Description') ?></h3>
    8789<div class="inside">
    88     <input type="text" name="link_description" size="30" tabindex="1" value="<?php echo $link->link_description; ?>" id="link_description" />
     90    <input type="text" name="link_description" size="30" tabindex="1" value="<?php echo $link->link_description; ?>" id="link_description" /><br />
     91    <?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?>
    8992</div>
    9093</div>
     
    133136<label for="link_target_blank" class="selectit">
    134137<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo(($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
    135 <code>_blank</code></label>
     138<code>_blank</code></label><br />
    136139<label for="link_target_top" class="selectit">
    137140<input id="link_target_top" type="radio" name="link_target" value="_top" <?php echo(($link->link_target == '_top') ? 'checked="checked"' : ''); ?> />
    138 <code>_top</code></label>
     141<code>_top</code></label><br />
    139142<label for="link_target_none" class="selectit">
    140143<input id="link_target_none" type="radio" name="link_target" value="" <?php echo(($link->link_target == '') ? 'checked="checked"' : ''); ?> />
     
    259262<h3><?php _e('Advanced') ?></h3>
    260263<div class="inside">
    261 <table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5">
    262     <tr>
    263         <th style="width: 20%;" scope="row"><?php _e('Image Address:') ?></th>
    264         <td style="width: 80%;"><input type="text" name="link_image" size="50" value="<?php echo $link->link_image; ?>" style="width: 95%" /></td>
    265     </tr>
    266     <tr>
    267         <th scope="row"><?php _e('RSS Address:') ?> </th>
     264<table class="form-table" style="width: 100%;" cellspacing="2" cellpadding="5">
     265    <tr class="form-field">
     266        <th valign="top"  scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th>
     267        <td><input type="text" name="link_image" id="link_image" size="50" value="<?php echo $link->link_image; ?>" style="width: 95%" /></td>
     268    </tr>
     269    <tr class="form-field">
     270        <th valign="top"  scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th>
    268271        <td><input name="link_rss" type="text" id="rss_uri" value="<?php echo $link->link_rss; ?>" size="50" style="width: 95%" /></td>
    269272    </tr>
    270     <tr>
    271         <th scope="row"><?php _e('Notes:') ?></th>
    272         <td><textarea name="link_notes" cols="50" rows="10" style="width: 95%"><?php echo $link->link_notes; ?></textarea></td>
    273     </tr>
    274     <tr>
    275         <th scope="row"><?php _e('Rating:') ?></th>
    276         <td><select name="link_rating" size="1">
     273    <tr class="form-field">
     274        <th valign="top"  scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th>
     275        <td><textarea name="link_notes" id="link_notes" cols="50" rows="10" style="width: 95%"><?php echo $link->link_notes; ?></textarea></td>
     276    </tr>
     277    <tr class="form-field">
     278        <th valign="top"  scope="row"><label for="link_rating"><?php _e('Rating') ?></label></th>
     279        <td><select name="link_rating" id="link_rating" size="1">
    277280        <?php
    278281            for ($r = 0; $r < 10; $r++) {
Note: See TracChangeset for help on using the changeset viewer.