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/update.php

    r7465 r7883  
    4646<table class="form-table">
    4747<tr valign="top">
    48 <th scope="row"><?php _e('Hostname:') ?></th>
     48<th scope="row"><label for="hostname"><?php _e('Hostname:') ?></label></th>
    4949<td><input name="hostname" type="text" id="hostname" value="<?php echo attribute_escape($hostname) ?>"<?php if( defined('FTP_HOST') ) echo ' disabled="disabled"' ?> size="40" /></td>
    5050</tr>
    5151<tr valign="top">
    52 <th scope="row"><?php _e('Username:') ?></th>
     52<th scope="row"><label for="username"><?php _e('Username:') ?></label></th>
    5353<td><input name="username" type="text" id="username" value="<?php echo attribute_escape($username) ?>"<?php if( defined('FTP_USER') ) echo ' disabled="disabled"' ?> size="40" /></td>
    5454</tr>
    5555<tr valign="top">
    56 <th scope="row"><?php _e('Password:') ?></th>
     56<th scope="row"><label for="password"><?php _e('Password:') ?></label></th>
    5757<td><input name="password" type="password" id="password" value=""<?php if( defined('FTP_PASS') ) echo ' disabled="disabled"' ?> size="40" /><?php if( defined('FTP_PASS') && !empty($password) ) echo '<em>'.__('(Password not shown)').'</em>'; ?></td>
    5858</tr>
    5959<tr valign="top">
    60 <th scope="row"><?php _e('Use SSL:') ?></th>
     60<th scope="row"><label for="ssl"><?php _e('Use SSL:') ?></label></th>
    6161<td>
    6262<select name="ssl" id="ssl"<?php if( defined('FTP_SSL') ) echo ' disabled="disabled"' ?>>
Note: See TracChangeset for help on using the changeset viewer.