Changeset 7235
- Timestamp:
- 03/11/2008 08:54:08 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/user-edit.php
r7214 r7235 150 150 <table class="form-table"> 151 151 <tr> 152 <td colspan="2"><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', $profileuser->rich_editing); ?> /> <?php _e('Use the visual editor when writing'); ?></ td>152 <td colspan="2"><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', $profileuser->rich_editing); ?> /> <?php _e('Use the visual editor when writing'); ?></label></td> 153 153 </tr> 154 154 </table> … … 165 165 <table class="form-table"> 166 166 <tr> 167 <th><label ><?php _e('Username'); ?></label></th>168 <td><input type="text" name="user_login" id="user_login" value="<?php echo $profileuser->user_login; ?>" disabled="disabled" /> Your username can not be changed</td>167 <th><label for="user_login"><?php _e('Username'); ?></label></th> 168 <td><input type="text" name="user_login" id="user_login" value="<?php echo $profileuser->user_login; ?>" disabled="disabled" /> <?php _e('Your username cannot be changed'); ?></td> 169 169 </tr> 170 170 171 171 <?php if ( !$is_profile_page ): ?> 172 <tr><th><label ><?php _e('Role:') ?></label></th>172 <tr><th><label for="role"><?php _e('Role:') ?></label></th> 173 173 <?php 174 174 // print_r($profileuser); 175 echo '<td><select name="role" >';175 echo '<td><select name="role" id="role">'; 176 176 $role_list = ''; 177 177 $user_has_role = false; … … 195 195 196 196 <tr> 197 <th><label ><?php _e('First name') ?></label></th>198 <td><input type="text" name="first_name" value="<?php echo $profileuser->first_name ?>" /></td>199 </tr> 200 201 <tr> 202 <th><label ><?php _e('Last name') ?></label></th>203 <td><input type="text" name="last_name" value="<?php echo $profileuser->last_name ?>" /></td>204 </tr> 205 206 <tr> 207 <th><label ><?php _e('Nickname') ?></label></th>208 <td><input type="text" name="nickname" value="<?php echo $profileuser->nickname ?>" /></td>209 </tr> 210 211 <tr> 212 <th><label ><?php _e('Display name publicly as') ?></label></th>197 <th><label for="first_name"><?php _e('First name') ?></label></th> 198 <td><input type="text" name="first_name" id="first_name" value="<?php echo $profileuser->first_name ?>" /></td> 199 </tr> 200 201 <tr> 202 <th><label for="last_name"><?php _e('Last name') ?></label></th> 203 <td><input type="text" name="last_name" id="last_name" value="<?php echo $profileuser->last_name ?>" /></td> 204 </tr> 205 206 <tr> 207 <th><label for="nickname"><?php _e('Nickname') ?></label></th> 208 <td><input type="text" name="nickname" id="nickname" value="<?php echo $profileuser->nickname ?>" /></td> 209 </tr> 210 211 <tr> 212 <th><label for="display_name"><?php _e('Display name publicly as') ?></label></th> 213 213 <td> 214 <select name="display_name" >214 <select name="display_name" id="display_name"> 215 215 <?php 216 216 $public_display = array(); … … 237 237 <table class="form-table"> 238 238 <tr> 239 <th><label ><?php _e('E-mail') ?></label></th>240 <td><input type="text" name="email" value="<?php echo $profileuser->user_email ?>" /> Required</td>241 </tr> 242 243 <tr> 244 <th><label ><?php _e('Website') ?></label></th>245 <td><input type="text" name="url" value="<?php echo $profileuser->user_url ?>" /></td>239 <th><label for="email"><?php _e('E-mail') ?></label></th> 240 <td><input type="text" name="email" id="email" value="<?php echo $profileuser->user_email ?>" /> <?php _e('Required'); ?></td> 241 </tr> 242 243 <tr> 244 <th><label for="url"><?php _e('Website') ?></label></th> 245 <td><input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" /></td> 246 246 </th> 247 247 248 248 <tr> 249 <th><label ><?php _e('AIM') ?></label></th>250 <td><input type="text" name="aim" value="<?php echo $profileuser->aim ?>" /></td>251 </tr> 252 253 <tr> 254 <th><label ><?php _e('Yahoo IM') ?></label></th>255 <td><input type="text" name="yim" value="<?php echo $profileuser->yim ?>" /></td>256 </tr> 257 258 <tr> 259 <th><label ><?php _e('Jabber / Google Talk') ?></label></th>260 <td><input type="text" name="jabber" value="<?php echo $profileuser->jabber ?>" /></td>249 <th><label for="aim"><?php _e('AIM') ?></label></th> 250 <td><input type="text" name="aim" id="aim" value="<?php echo $profileuser->aim ?>" /></td> 251 </tr> 252 253 <tr> 254 <th><label for="yim"><?php _e('Yahoo IM') ?></label></th> 255 <td><input type="text" name="yim" id="yim" value="<?php echo $profileuser->yim ?>" /></td> 256 </tr> 257 258 <tr> 259 <th><label for="jabber"><?php _e('Jabber / Google Talk') ?></label></th> 260 <td><input type="text" name="jabber" id="jabber" value="<?php echo $profileuser->jabber ?>" /></td> 261 261 </tr> 262 262 </table> … … 266 266 <table class="form-table"> 267 267 <tr> 268 <th><label >Biographical Info</th>269 <td><textarea name="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea><br /><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></label></td>268 <th><label for="description"><?php _e('Biographical Info'); ?></label></th> 269 <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea><br /><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></td> 270 270 </tr> 271 271 … … 275 275 ?> 276 276 <tr> 277 <th><label ><?php _e('New Password:'); ?></label></th>277 <th><label for="pass1"><?php _e('New Password:'); ?></label></th> 278 278 <td><input type="password" name="pass1" id="pass1" size="16" value="" /> <?php _e("If you would like to change the password type a new one. Otherwise leave this blank."); ?><br /> 279 279 <input type="password" name="pass2" id="pass2" size="16" value="" /> <?php _e("Type your new password again."); ?><br />
Note: See TracChangeset
for help on using the changeset viewer.