Changeset 11530 for trunk/wp-admin/includes/template.php
- Timestamp:
- 06/07/2009 01:52:44 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r11503 r11530 3432 3432 $_wp_contextual_help = array(); 3433 3433 3434 $ widgets_access = '';3434 $settings = ''; 3435 3435 3436 3436 switch ( $screen ) { … … 3472 3472 } 3473 3473 break; 3474 case 'theme-editor': 3475 case 'plugin-editor': 3476 $settings = '<p><a id="codepress-on" href="' . $screen . '.php?codepress=on">' . __('Enable syntax highlighting') . '</a><a id="codepress-off" href="' . $screen . '.php?codepress=off">' . __('Disable syntax highlighting') . "</a></p>\n"; 3477 $show_screen = true; 3478 break; 3474 3479 case 'widgets': 3475 3480 if ( !isset($_wp_contextual_help['widgets']) ) { … … 3477 3482 $_wp_contextual_help['widgets'] = $help; 3478 3483 } 3479 $ widgets_access = '<p><a id="access-on" href="widgets.php?widgets-access=on">' . __('Enable accessibility mode') . '</a><a id="access-off" href="widgets.php?widgets-access=off">' . __('Disable accessibility mode') . "</a></p>\n";3484 $settings = '<p><a id="access-on" href="widgets.php?widgets-access=on">' . __('Enable accessibility mode') . '</a><a id="access-off" href="widgets.php?widgets-access=off">' . __('Disable accessibility mode') . "</a></p>\n"; 3480 3485 $show_screen = true; 3481 3486 break; … … 3501 3506 <?php echo screen_layout($screen); ?> 3502 3507 <?php echo $screen_options; ?> 3503 <?php echo $ widgets_access; ?>3508 <?php echo $settings; ?> 3504 3509 <div><?php wp_nonce_field( 'screen-options-nonce', 'screenoptionnonce', false ); ?></div> 3505 3510 </form>
Note: See TracChangeset
for help on using the changeset viewer.