Make WordPress Core


Ignore:
Timestamp:
05/04/2008 10:37:06 AM (17 years ago)
Author:
westi
Message:

Associate lables with form fields. Fixes #6859 props MarcoZ.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-misc.php

    r7498 r7883  
    1616<table class="form-table">
    1717<tr valign="top">
    18 <th scope="row"><?php _e('Store uploads in this folder'); ?></th>
     18<th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th>
    1919<td><input name="upload_path" type="text" id="upload_path" class="code" value="<?php echo attribute_escape(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" size="40" />
    2020<br />
     
    2424
    2525<tr valign="top">
    26 <th scope="row"><?php _e('Full URL path to files (optional)'); ?></th>
     26<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files (optional)'); ?></label></th>
    2727<td><input name="upload_url_path" type="text" id="upload_url_path" class="code" value="<?php echo attribute_escape( get_option('upload_url_path')); ?>" size="40" />
    2828</td>
     
    4545<tr valign="top">
    4646<th scope="row"><?php _e('Thumbnail size') ?></th>
    47 <td>
     47<td><fieldset><legend class="hidden"><?php _e('Thumbnail size') ?></legend>
    4848<label for="thumbnail_size_w"><?php _e('Width'); ?></label>
    4949<input name="thumbnail_size_w" type="text" id="thumbnail_size_w" value="<?php form_option('thumbnail_size_w'); ?>" size="6" />
     
    5252<input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked('1', get_option('thumbnail_crop')); ?>/>
    5353<label for="thumbnail_crop"><?php _e('Crop thumbnail to exact dimensions (normally thumbnails are proportional)'); ?></label>
    54 </td>
     54</fieldset></td>
    5555</tr>
    5656<tr valign="top">
    5757<th scope="row"><?php _e('Medium size') ?></th>
    58 <td>
     58<td><fieldset><legend class="hidden"><?php _e('Medium size') ?></legend>
    5959<label for="medium_size_w"><?php _e('Max Width'); ?></label>
    6060<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" size="6" />
    6161<label for="medium_size_h"><?php _e('Max Height'); ?></label>
    6262<input name="medium_size_h" type="text" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" size="6" />
    63 </td>
     63</fieldset></td>
    6464</tr>
    6565</table>
Note: See TracChangeset for help on using the changeset viewer.