@@ 244-249 (lines=6) @@ | ||
241 | <h2><?php _e( 'Personal Options' ); ?></h2> |
|
242 | ||
243 | <table class="form-table"> |
|
244 | <?php if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) ) : ?> |
|
245 | <tr class="user-rich-editing-wrap"> |
|
246 | <th scope="row"><?php _e( 'Visual Editor' ); ?></th> |
|
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> |
|
248 | </tr> |
|
249 | <?php endif; ?> |
|
250 | <?php if ( count($_wp_admin_css_colors) > 1 && has_action('admin_color_scheme_picker') ) : ?> |
|
251 | <tr class="user-admin-color-wrap"> |
|
252 | <th scope="row"><?php _e('Admin Color Scheme')?></th> |
|
@@ 270-275 (lines=6) @@ | ||
267 | </tr> |
|
268 | <?php |
|
269 | endif; // $_wp_admin_css_colors |
|
270 | if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?> |
|
271 | <tr class="user-comment-shortcuts-wrap"> |
|
272 | <th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th> |
|
273 | <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="https://codex.wordpress.org/Keyboard_Shortcuts" target="_blank">More information</a>'); ?></td> |
|
274 | </tr> |
|
275 | <?php endif; ?> |
|
276 | <tr class="show-admin-bar user-admin-bar-front-wrap"> |
|
277 | <th scope="row"><?php _e( 'Toolbar' ); ?></th> |
|
278 | <td><fieldset><legend class="screen-reader-text"><span><?php _e('Toolbar') ?></span></legend> |