Changeset 29804
- Timestamp:
- 10/02/2014 12:55:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-edit.php
r29030 r29804 68 68 function use_ssl_preference($user) { 69 69 ?> 70 <tr >70 <tr class="user-use-ssl-wrap"> 71 71 <th scope="row"><?php _e('Use https')?></th> 72 72 <td><label for="use_ssl"><input name="use_ssl" type="checkbox" id="use_ssl" value="1" <?php checked('1', $user->use_ssl); ?> /> <?php _e('Always use https when visiting the admin'); ?></label></td> … … 243 243 <table class="form-table"> 244 244 <?php if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) ) : ?> 245 <tr >245 <tr class="user-rich-editing-wrap"> 246 246 <th scope="row"><?php _e('Visual Editor')?></th> 247 247 <td><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="false" <?php if ( ! empty( $profileuser->rich_editing ) ) checked( 'false', $profileuser->rich_editing ); ?> /> <?php _e( 'Disable the visual editor when writing' ); ?></label></td> … … 249 249 <?php endif; ?> 250 250 <?php if ( count($_wp_admin_css_colors) > 1 && has_action('admin_color_scheme_picker') ) : ?> 251 <tr >251 <tr class="user-admin-color-wrap"> 252 252 <th scope="row"><?php _e('Admin Color Scheme')?></th> 253 253 <?php … … 266 266 endif; // $_wp_admin_css_colors 267 267 if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?> 268 <tr >268 <tr class="user-comment-shortcuts-wrap"> 269 269 <th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th> 270 270 <td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php if ( ! empty( $profileuser->comment_shortcuts ) ) checked( 'true', $profileuser->comment_shortcuts ); ?> /> <?php _e('Enable keyboard shortcuts for comment moderation.'); ?></label> <?php _e('<a href="http://codex.wordpress.org/Keyboard_Shortcuts" target="_blank">More information</a>'); ?></td> 271 271 </tr> 272 272 <?php endif; ?> 273 <tr class="show-admin-bar ">273 <tr class="show-admin-bar user-admin-bar-front-wrap"> 274 274 <th scope="row"><?php _e('Toolbar')?></th> 275 275 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Toolbar') ?></span></legend> … … 309 309 310 310 <table class="form-table"> 311 <tr >311 <tr class="user-user-login-wrap"> 312 312 <th><label for="user_login"><?php _e('Username'); ?></label></th> 313 313 <td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr($profileuser->user_login); ?>" disabled="disabled" class="regular-text" /> <span class="description"><?php _e('Usernames cannot be changed.'); ?></span></td> … … 315 315 316 316 <?php if ( !IS_PROFILE_PAGE && !is_network_admin() ) : ?> 317 <tr ><th><label for="role"><?php _e('Role') ?></label></th>317 <tr class="user-role-wrap"><th><label for="role"><?php _e('Role') ?></label></th> 318 318 <td><select name="role" id="role"> 319 319 <?php … … 335 335 336 336 if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_can( 'manage_network_options' ) && !isset($super_admins) ) { ?> 337 <tr ><th><?php _e('Super Admin'); ?></th>337 <tr class="user-super-admin-wrap"><th><?php _e('Super Admin'); ?></th> 338 338 <td> 339 339 <?php if ( $profileuser->user_email != get_site_option( 'admin_email' ) || ! is_super_admin( $profileuser->ID ) ) : ?> … … 345 345 <?php } ?> 346 346 347 <tr >347 <tr class="user-first-name-wrap"> 348 348 <th><label for="first_name"><?php _e('First Name') ?></label></th> 349 349 <td><input type="text" name="first_name" id="first_name" value="<?php echo esc_attr($profileuser->first_name) ?>" class="regular-text" /></td> 350 350 </tr> 351 351 352 <tr >352 <tr class="user-last-name-wrap"> 353 353 <th><label for="last_name"><?php _e('Last Name') ?></label></th> 354 354 <td><input type="text" name="last_name" id="last_name" value="<?php echo esc_attr($profileuser->last_name) ?>" class="regular-text" /></td> 355 355 </tr> 356 356 357 <tr >357 <tr class="user-nickname-wrap"> 358 358 <th><label for="nickname"><?php _e('Nickname'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th> 359 359 <td><input type="text" name="nickname" id="nickname" value="<?php echo esc_attr($profileuser->nickname) ?>" class="regular-text" /></td> 360 360 </tr> 361 361 362 <tr >362 <tr class="user-display-name-wrap"> 363 363 <th><label for="display_name"><?php _e('Display name publicly as') ?></label></th> 364 364 <td> … … 400 400 401 401 <table class="form-table"> 402 <tr >402 <tr class="user-email-wrap"> 403 403 <th><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th> 404 404 <td><input type="email" name="email" id="email" value="<?php echo esc_attr( $profileuser->user_email ) ?>" class="regular-text ltr" /> … … 413 413 </tr> 414 414 415 <tr >415 <tr class="user-url-wrap"> 416 416 <th><label for="url"><?php _e('Website') ?></label></th> 417 417 <td><input type="url" name="url" id="url" value="<?php echo esc_attr( $profileuser->user_url ) ?>" class="regular-text code" /></td> … … 421 421 foreach ( wp_get_user_contact_methods( $profileuser ) as $name => $desc ) { 422 422 ?> 423 <tr >423 <tr class="user-<?php echo $name; ?>-wrap"> 424 424 <?php 425 425 /** … … 445 445 446 446 <table class="form-table"> 447 <tr >447 <tr class="user-description-wrap"> 448 448 <th><label for="description"><?php _e('Biographical Info'); ?></label></th> 449 449 <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea><br /> … … 456 456 if ( $show_password_fields ) : 457 457 ?> 458 <tr id="password" >458 <tr id="password" class="user-pass1-wrap"> 459 459 <th><label for="pass1"><?php _e( 'New Password' ); ?></label></th> 460 460 <td> … … 464 464 </td> 465 465 </tr> 466 <tr >466 <tr class="user-pass2-wrap"> 467 467 <th scope="row"><label for="pass2"><?php _e( 'Repeat New Password' ); ?></label></th> 468 468 <td> … … 519 519 <h3><?php _e( 'Additional Capabilities' ); ?></h3> 520 520 <table class="form-table"> 521 <tr >521 <tr class="user-capabilities-wrap"> 522 522 <th scope="row"><?php _e( 'Capabilities' ); ?></th> 523 523 <td>
Note: See TracChangeset
for help on using the changeset viewer.