Ticket #18785: revert-help-so.patch
File revert-help-so.patch, 38.0 KB (added by , 13 years ago) |
---|
-
wp-admin/comment.php
112 112 <div class="narrow"> 113 113 114 114 <?php screen_icon(); ?> 115 <h2><?php echo esc_html( $title ); ?></h2>115 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 116 116 117 117 <?php 118 118 switch ( $action ) { -
wp-admin/css/colors-classic.dev.css
1618 1618 #contextual-help-back { 1619 1619 background-color: #EFF8FF; 1620 1620 border-color: #D1E5EE; 1621 -webkit-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.05 ); 1622 -moz-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.05 ); 1623 box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.05 ); 1621 -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); 1622 box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); 1624 1623 } 1625 1624 1626 1625 .contextual-help-tabs a:hover { -
wp-admin/css/colors-fresh.dev.css
784 784 #screen-meta { 785 785 background-color: #fff; 786 786 } 787 787 788 #contextual-help-back { 788 789 background-color: #f1f1f1; 789 790 border-color: #ccc; 790 791 -webkit-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.05 ); 792 -moz-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.05 ); 793 box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.05 ); 791 -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); 792 box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); 794 793 } 795 794 796 795 .contextual-help-tabs a:hover { -
wp-admin/css/wp-admin.dev.css
39 39 20.0 - Settings 40 40 21.0 - Admin Footer 41 41 22.0 - Misc 42 23.0 - Dead43 42 44 43 ------------------------------------------------------------------------*/ 45 44 … … 606 605 607 606 .wrap h2 { 608 607 font-size: 23px; 609 padding: 9px 15px 4px 0;608 padding: 9px 0 4px; 610 609 line-height: 29px; 611 610 } 612 611 … … 1367 1366 padding: 8px 20px 12px; 1368 1367 max-height: 300px; 1369 1368 overflow: auto; 1369 position: relative; 1370 1370 } 1371 1371 1372 1372 #screen-meta .screen-reader-text { … … 1428 1428 } 1429 1429 1430 1430 #contextual-help-wrap { 1431 position: relative;1432 1431 padding: 0 0 0 4px; 1433 1432 overflow: auto; 1434 1433 } … … 4624 4623 22.0 - Misc 4625 4624 ------------------------------------------------------------------------------*/ 4626 4625 4627 #excerpt, .attachmentlinks { 4626 #excerpt, 4627 .attachmentlinks { 4628 4628 margin: 0; 4629 4629 height: 4em; 4630 4630 width: 98%; … … 4740 4740 padding: 0; 4741 4741 } 4742 4742 4743 #titlediv, #poststuff .postarea { 4743 #titlediv, 4744 #poststuff .postarea { 4744 4745 margin-bottom: 20px; 4745 4746 } 4746 4747 4747 td.post-title strong, td.plugin-title strong { 4748 td.post-title strong, 4749 td.plugin-title strong { 4748 4750 display: block; 4749 4751 margin-bottom: .2em; 4750 4752 } 4751 4753 4752 td.post-title p, td.plugin-title p { 4754 td.post-title p, 4755 td.plugin-title p { 4753 4756 margin: 6px 0; 4754 4757 } 4755 4758 … … 4810 4813 display: none; 4811 4814 } 4812 4815 4813 .plugin-install #description, .plugin-install-network #description { 4816 .plugin-install #description, 4817 .plugin-install-network #description { 4814 4818 width: 60%; 4815 4819 } 4816 4820 … … 4830 4834 height: 98%; 4831 4835 } 4832 4836 4837 .screen-meta-toggle { 4838 float: right; 4839 padding-left: 8px; 4840 font-size: 12px; 4841 } 4833 4842 4843 .screen-meta-toggle a { 4844 text-decoration: none; 4845 } 4846 4834 4847 /* - Only used once or twice in all of WP - deprecate for global style 4835 4848 ------------------------------------------------------------------------------*/ 4836 4849 td.media-icon { -
wp-admin/custom-background.php
172 172 ?> 173 173 <div class="wrap" id="custom-background"> 174 174 <?php screen_icon(); ?> 175 <h2><?php _e('Custom Background'); ?></h2>175 <h2><?php _e('Custom Background'); $current_screen->print_toggles(); ?></h2> 176 176 <?php if ( !empty($this->updated) ) { ?> 177 177 <div id="message" class="updated"> 178 178 <p><?php printf( __( 'Background updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p> -
wp-admin/custom-header.php
472 472 473 473 <div class="wrap"> 474 474 <?php screen_icon(); ?> 475 <h2><?php _e('Custom Header'); ?></h2>475 <h2><?php _e('Custom Header'); $current_screen->print_toggles(); ?></h2> 476 476 477 477 <?php if ( ! empty( $this->updated ) ) { ?> 478 478 <div id="message" class="updated"> … … 687 687 688 688 <div class="wrap"> 689 689 <?php screen_icon(); ?> 690 <h2><?php _e( 'Crop Header Image' ); ?></h2>690 <h2><?php _e( 'Crop Header Image' ); $current_screen->print_toggles(); ?></h2> 691 691 692 692 <form method="post" action="<?php echo esc_attr(add_query_arg('step', 3)); ?>"> 693 693 <p class="hide-if-no-js"><?php _e('Choose the part of the image you want to use as your header.'); ?></p> -
wp-admin/edit-comments.php
144 144 echo __('Comments'); 145 145 146 146 if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) 147 printf( '<span class="subtitle">' . sprintf( __( 'Search results for “%s”' ), wp_html_excerpt( esc_html( stripslashes( $_REQUEST['s'] ) ), 50 ) ) . '</span>' ); ?> 148 </h2> 147 printf( '<span class="subtitle">' . sprintf( __( 'Search results for “%s”' ), wp_html_excerpt( esc_html( stripslashes( $_REQUEST['s'] ) ), 50 ) ) . '</span>' ); 149 148 149 $current_screen->print_toggles(); 150 ?></h2> 151 150 152 <?php 151 153 if ( isset( $_REQUEST['error'] ) ) { 152 154 $error = (int) $_REQUEST['error']; -
wp-admin/edit-form-advanced.php
242 242 243 243 <div class="wrap columns-<?php echo (int) $screen_layout_columns ? (int) $screen_layout_columns : 'auto'; ?>"> 244 244 <?php screen_icon(); ?> 245 <h2><?php echo esc_html( $title ); ?><?php if ( isset( $post_new_file ) ) : ?> <a href="<?php echo esc_url( $post_new_file ) ?>" class="add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a><?php endif; ?></h2> 245 <h2><?php 246 echo esc_html( $title ); 247 248 if ( isset( $post_new_file ) ) : 249 ?> <a href="<?php echo esc_url( $post_new_file ) ?>" class="add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a><?php 250 endif; 251 252 $current_screen->print_toggles(); 253 ?></h2> 254 246 255 <?php if ( $notice ) : ?> 247 256 <div id="notice" class="error"><p><?php echo $notice ?></p></div> 248 257 <?php endif; ?> -
wp-admin/edit-form-comment.php
24 24 <?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?> 25 25 <div class="wrap"> 26 26 <?php screen_icon(); ?> 27 <h2><?php _e('Edit Comment'); ?></h2>27 <h2><?php _e('Edit Comment'); $current_screen->print_toggles(); ?></h2> 28 28 29 29 <div id="poststuff" class="metabox-holder has-right-sidebar"> 30 30 <input type="hidden" name="user_ID" value="<?php echo (int) $user_ID ?>" /> -
wp-admin/edit-link-form.php
56 56 57 57 <div class="wrap columns-<?php echo (int) $screen_layout_columns ? (int) $screen_layout_columns : 'auto'; ?>"> 58 58 <?php screen_icon(); ?> 59 <h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a></h2>59 <h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php $current_screen->print_toggles(); ?></h2> 60 60 61 61 <?php if ( isset( $_GET['added'] ) ) : ?> 62 62 <div id="message" class="updated"><p><?php _e('Link added.'); ?></p></div> -
wp-admin/edit-tag-form.php
28 28 29 29 <div class="wrap"> 30 30 <?php screen_icon(); ?> 31 <h2><?php echo $tax->labels->edit_item; ?></h2>31 <h2><?php echo $tax->labels->edit_item; $current_screen->print_toggles(); ?></h2> 32 32 <div id="ajax-response"></div> 33 33 <form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate"> 34 34 <input type="hidden" name="action" value="editedtag" /> -
wp-admin/edit-tags.php
261 261 262 262 <div class="wrap nosubsub"> 263 263 <?php screen_icon(); ?> 264 <h2><?php echo esc_html( $title ); 264 <h2><?php 265 echo esc_html( $title ); 266 265 267 if ( !empty($_REQUEST['s']) ) 266 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( stripslashes($_REQUEST['s']) ) ); ?> 267 </h2> 268 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( stripslashes($_REQUEST['s']) ) ); 268 269 270 $current_screen->print_toggles(); 271 ?></h2> 272 269 273 <?php if ( isset($_REQUEST['message']) && ( $msg = (int) $_REQUEST['message'] ) ) : ?> 270 274 <div id="message" class="updated"><p><?php echo $messages[$msg]; ?></p></div> 271 275 <?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']); -
wp-admin/edit.php
193 193 <div class="wrap"> 194 194 <?php screen_icon(); ?> 195 195 <h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php 196 196 197 if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) 197 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', get_search_query() ); ?> 198 </h2> 198 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', get_search_query() ); 199 199 200 $current_screen->print_toggles(); 201 ?></h2> 202 200 203 <?php 201 204 if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?> 202 205 <div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div> -
wp-admin/export.php
119 119 120 120 <div class="wrap"> 121 121 <?php screen_icon(); ?> 122 <h2><?php echo esc_html( $title ); ?></h2>122 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 123 123 124 124 <p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p> 125 125 <p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.'); ?></p> -
wp-admin/import.php
54 54 55 55 <div class="wrap"> 56 56 <?php screen_icon(); ?> 57 <h2><?php echo esc_html( $title ); ?></h2>57 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 58 58 <?php if ( ! empty( $_GET['invalid'] ) ) : ?> 59 59 <div class="error"><p><strong><?php _e('ERROR:')?></strong> <?php printf( __('The <strong>%s</strong> importer is invalid or is not installed.'), esc_html( $_GET['invalid'] ) ); ?></p></div> 60 60 <?php endif; ?> -
wp-admin/includes/file.php
998 998 <form action="<?php echo $form_post ?>" method="post"> 999 999 <div class="wrap"> 1000 1000 <?php screen_icon(); ?> 1001 <h2><?php _e('Connection Information') ?></h2>1001 <h2><?php _e('Connection Information'); $current_screen->print_toggles(); ?></h2> 1002 1002 <p><?php 1003 1003 $label_user = __('Username'); 1004 1004 $label_pass = __('Password'); -
wp-admin/includes/screen.php
689 689 ) ); 690 690 } 691 691 692 // Add screen options tab693 if ( $this->show_screen_options() ) {694 $this->add_help_tab( array(695 'id' => 'screen-options',696 'title' => __('Screen Options'),697 'callback' => array( $this, 'render_screen_options' ),698 ) );699 $_options_tab = array_pop( $this->_help_tabs );700 array_unshift( $this->_help_tabs, $_options_tab );701 }702 703 692 // Time to render! 704 693 ?> 705 <div id="screen-meta" class= 'metabox-prefs'>694 <div id="screen-meta" class="metabox-prefs"> 706 695 <div id="contextual-help-back"></div> 707 696 <div id="contextual-help-wrap" class="hidden"> 708 697 <div class="contextual-help-tabs"> … … 748 737 <?php endforeach; ?> 749 738 </div> 750 739 </div> 740 <?php 741 // Add screen options 742 if ( $this->show_screen_options() ) 743 $this->render_screen_options(); 744 ?> 751 745 </div> 752 746 <?php 753 747 } … … 789 783 $hidden = get_hidden_columns( $this ); 790 784 791 785 ?> 786 <div id="screen-options-wrap" class="hidden"> 792 787 <form id="adv-settings" action="" method="post"> 793 788 <?php 794 789 if ( $this->get_option('overview') ) … … 840 835 ?> 841 836 <div><?php wp_nonce_field( 'screen-options-nonce', 'screenoptionnonce', false ); ?></div> 842 837 </form> 838 </div> 843 839 <?php 844 840 } 845 841 … … 939 935 </div> 940 936 <?php 941 937 } 942 } 943 No newline at end of file 938 939 public function print_toggles() { 940 echo ' <span class="screen-meta-toggle">'; 941 942 if ( $this->show_screen_options() ) 943 echo '<a href="#screen-options-wrap">' . __('Screen Options') . '</a> |'; 944 945 echo ' <a href="#contextual-help-wrap">' . __('Help') . '</a></span>'; 946 } 947 } -
wp-admin/index.php
84 84 85 85 <div class="wrap"> 86 86 <?php screen_icon(); ?> 87 <h2><?php echo esc_html( $title ); ?></h2>87 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 88 88 89 89 <?php wp_welcome_panel(); ?> 90 90 -
wp-admin/js/common.dev.js
95 95 page: null, // #wpcontent 96 96 padding: null, // the closed page padding-top property 97 97 top: null, // the closed element top property 98 map: {99 'wp-admin-bar-screen-options': 'screen-options-wrap',100 'wp-admin-bar-help': 'contextual-help-wrap'101 },102 98 103 99 init: function() { 104 100 screenMeta.element = $('#screen-meta'); 105 screenMeta.toggles = $('.screen-meta-toggle ');101 screenMeta.toggles = $('.screen-meta-toggle a'); 106 102 screenMeta.page = $('#wpcontent'); 107 103 108 104 screenMeta.toggles.click( screenMeta.toggleEvent ); 109 105 }, 110 106 111 107 toggleEvent: function( e ) { 112 var panel ;108 var panel = $( this.href.replace(/.+#/, '#') ); 113 109 e.preventDefault(); 114 110 115 // Check to see if we found a panel. 116 if ( ! screenMeta.map[ this.id ] ) 111 if ( !panel.length ) 117 112 return; 118 113 119 panel = $('#' + screenMeta.map[ this.id ]);120 121 114 if ( panel.is(':visible') ) 122 115 screenMeta.close( panel, $(this) ); 123 116 else -
wp-admin/link-manager.php
62 62 63 63 <div class="wrap nosubsub"> 64 64 <?php screen_icon(); ?> 65 <h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php 65 <h2><?php 66 echo esc_html( $title ); 67 ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php 68 66 69 if ( !empty($_REQUEST['s']) ) 67 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( stripslashes($_REQUEST['s']) ) ); ?> 68 </h2> 70 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( stripslashes($_REQUEST['s']) ) ); 69 71 72 $current_screen->print_toggles(); 73 ?></h2> 74 70 75 <?php 71 76 if ( isset($_REQUEST['deleted']) ) { 72 77 echo '<div id="message" class="updated"><p>'; -
wp-admin/media-upload.php
76 76 require_once('./admin-header.php'); ?> 77 77 <div class="wrap"> 78 78 <?php screen_icon(); ?> 79 <h2><?php echo esc_html( $title ); ?></h2>79 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 80 80 81 81 <form enctype="multipart/form-data" method="post" action="<?php echo admin_url('media-upload.php?inline=&upload-page-form='); ?>" class="media-upload-form type-form validate" id="file-form"> 82 82 -
wp-admin/media.php
100 100 101 101 <div class="wrap"> 102 102 <?php screen_icon(); ?> 103 <h2> 104 <?php 103 <h2><?php 105 104 echo esc_html( $title ); 105 106 106 if ( current_user_can( 'upload_files' ) ) { ?> 107 107 <a href="media-new.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a> 108 <?php } ?> 109 </h2> 108 <?php } 110 109 110 $current_screen->print_toggles(); 111 ?></h2> 112 111 113 <form method="post" action="" class="media-upload-form" id="media-single-form"> 112 114 <p class="submit" style="padding-bottom: 0;"> 113 115 <?php submit_button( __( 'Update Media' ), 'primary', 'save', false ); ?> -
wp-admin/my-sites.php
57 57 58 58 <div class="wrap"> 59 59 <?php screen_icon(); ?> 60 <h2><?php echo esc_html( $title ); ?></h2>60 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 61 61 <form id="myblogs" action="" method="post"> 62 62 <?php 63 63 choose_primary_blog(); -
wp-admin/nav-menus.php
462 462 ?> 463 463 <div class="wrap"> 464 464 <?php screen_icon(); ?> 465 <h2><?php esc_html_e('Menus'); ?></h2>465 <h2><?php esc_html_e('Menus'); $current_screen->print_toggles(); ?></h2> 466 466 <?php 467 467 foreach( $messages as $message ) : 468 468 echo $message . "\n"; -
wp-admin/network.php
123 123 ?> 124 124 <div class="wrap"> 125 125 <?php screen_icon('tools'); ?> 126 <h2><?php echo esc_html( $title ); ?></h2>126 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 127 127 128 128 <?php 129 129 /** -
wp-admin/network/index.php
49 49 50 50 <div class="wrap"> 51 51 <?php screen_icon(); ?> 52 <h2><?php echo esc_html( $title ); ?></h2>52 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 53 53 54 54 <div id="dashboard-widgets-wrap"> 55 55 -
wp-admin/network/settings.php
111 111 ?> 112 112 113 113 <div class="wrap"> 114 <?php screen_icon('options-general'); ?> 115 <h2><?php echo esc_html( $title ); ?></h2> 114 <?php screen_icon('options-general'); ?> 115 <h2><?php 116 117 echo esc_html( $title ); 118 119 if ( $current_screen->show_screen_options() ) 120 echo ' <a class="screen-meta-toggle" href="#screen-options-wrap">' . __('Screen Options') . '</a>'; 121 122 echo ' <a class="screen-meta-toggle" href="#contextual-help-wrap">' . __('Help') . '</a>'; 123 124 ?></h2> 116 125 <form method="post" action="settings.php"> 117 126 <?php wp_nonce_field( 'siteoptions' ); ?> 118 127 <h3><?php _e( 'Operational Settings' ); ?></h3> -
wp-admin/network/themes.php
224 224 225 225 <div class="wrap"> 226 226 <?php screen_icon('themes'); ?> 227 <h2><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } 227 <h2><?php 228 echo esc_html( $title ); 229 230 if ( current_user_can('install_themes') ) { 231 ?> <a href="theme-install.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php 232 } 233 228 234 if ( $s ) 229 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?> 230 </h2> 235 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); 231 236 237 $current_screen->print_toggles(); 238 ?></h2> 239 232 240 <?php 233 241 if ( isset( $_GET['enabled'] ) ) { 234 242 $_GET['enabled'] = absint( $_GET['enabled'] ); -
wp-admin/network/user-new.php
68 68 69 69 <div class="wrap"> 70 70 <?php screen_icon(); ?> 71 <h2 id="add-new-user"><?php _e('Add New User') ?></h2>71 <h2 id="add-new-user"><?php _e('Add New User'); $current_screen->print_toggles(); ?></h2> 72 72 <?php 73 73 if ( ! empty( $messages ) ) { 74 74 foreach ( $messages as $msg ) -
wp-admin/network/users.php
23 23 24 24 screen_icon(); 25 25 ?> 26 <h2><?php esc_html_e( 'Users' ); ?></h2>26 <h2><?php esc_html_e( 'Users' ); $current_screen->print_toggles(); ?></h2> 27 27 <p><?php _e( 'Transfer or delete posts and links before deleting users.' ); ?></p> 28 28 <form action="users.php?action=dodelete" method="post"> 29 29 <input type="hidden" name="dodelete" /> … … 274 274 ?> 275 275 <div class="wrap"> 276 276 <?php screen_icon(); ?> 277 <h2><?php esc_html_e( 'Users' ); 277 <h2><?php 278 esc_html_e( 'Users' ); 279 278 280 if ( current_user_can( 'create_users') ) : ?> 279 281 <a href="<?php echo network_admin_url('user-new.php'); ?>" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a><?php 280 282 endif; 281 283 282 284 if ( !empty( $usersearch ) ) 283 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $usersearch ) ); 284 ?> 285 </h2> 285 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $usersearch ) ); 286 287 $current_screen->print_toggles(); 288 ?></h2> 286 289 287 290 <?php $wp_list_table->views(); ?> 288 291 -
wp-admin/options-discussion.php
31 31 32 32 <div class="wrap"> 33 33 <?php screen_icon(); ?> 34 <h2><?php echo esc_html( $title ); ?></h2>34 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 35 35 36 36 <form method="post" action="options.php"> 37 37 <?php settings_fields('discussion'); ?> -
wp-admin/options-general.php
78 78 79 79 <div class="wrap"> 80 80 <?php screen_icon(); ?> 81 <h2><?php echo esc_html( $title ); ?></h2>81 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 82 82 83 83 <form method="post" action="options.php"> 84 84 <?php settings_fields('general'); ?> -
wp-admin/options-media.php
34 34 35 35 <div class="wrap"> 36 36 <?php screen_icon(); ?> 37 <h2><?php echo esc_html( $title ); ?></h2>37 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 38 38 39 39 <form action="options.php" method="post"> 40 40 <?php settings_fields('media'); ?> -
wp-admin/options-permalink.php
152 152 153 153 <div class="wrap"> 154 154 <?php screen_icon(); ?> 155 <h2><?php echo esc_html( $title ); ?></h2>155 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 156 156 157 157 <form name="form" action="options-permalink.php" method="post"> 158 158 <?php wp_nonce_field('update-permalink') ?> -
wp-admin/options-privacy.php
32 32 33 33 <div class="wrap"> 34 34 <?php screen_icon(); ?> 35 <h2><?php echo esc_html( $title ); ?></h2>35 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 36 36 37 37 <form method="post" action="options.php"> 38 38 <?php settings_fields('privacy'); ?> -
wp-admin/options-reading.php
59 59 60 60 <div class="wrap"> 61 61 <?php screen_icon(); ?> 62 <h2><?php echo esc_html( $title ); ?></h2>62 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 63 63 64 64 <form name="form1" method="post" action="options.php"> 65 65 <?php settings_fields( 'reading' ); ?> -
wp-admin/options-writing.php
31 31 32 32 <div class="wrap"> 33 33 <?php screen_icon(); ?> 34 <h2><?php echo esc_html( $title ); ?></h2>34 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 35 35 36 36 <form method="post" action="options.php"> 37 37 <?php settings_fields('writing'); ?> -
wp-admin/plugin-editor.php
158 158 <?php endif; ?> 159 159 <div class="wrap"> 160 160 <?php screen_icon(); ?> 161 <h2><?php echo esc_html( $title ); ?></h2>161 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 162 162 163 163 <div class="fileedit-sub"> 164 164 <div class="alignleft"> -
wp-admin/plugin-install.php
52 52 ?> 53 53 <div class="wrap"> 54 54 <?php screen_icon(); ?> 55 <h2><?php echo esc_html( $title ); ?></h2>55 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 56 56 57 57 <?php $wp_list_table->views(); ?> 58 58 -
wp-admin/plugins.php
382 382 383 383 <div class="wrap"> 384 384 <?php screen_icon(); ?> 385 <h2><?php echo esc_html( $title ); 385 <h2><?php 386 echo esc_html( $title ); 387 386 388 if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?> 387 389 <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="add-new-h2"><?php echo esc_html_x('Add New', 'plugin'); ?></a> 388 390 <?php } 391 389 392 if ( $s ) 390 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?> 391 </h2> 393 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); 392 394 395 $current_screen->print_toggles(); 396 ?></h2> 397 393 398 <?php do_action( 'pre_current_active_plugins', $plugins['all'] ) ?> 394 399 395 400 <?php $wp_list_table->views(); ?> -
wp-admin/theme-editor.php
143 143 ?> 144 144 <div class="wrap"> 145 145 <?php screen_icon(); ?> 146 <h2><?php echo esc_html( $title ); ?></h2>146 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 147 147 148 148 <div class="fileedit-sub"> 149 149 <div class="alignleft"> -
wp-admin/theme-install.php
57 57 screen_icon(); 58 58 59 59 if ( is_network_admin() ) : ?> 60 <h2><?php echo esc_html( $title ); ?></h2> 61 <?php else : ?> 62 <h2 class="nav-tab-wrapper"><a href="themes.php" class="nav-tab"><?php echo esc_html_x('Manage Themes', 'theme'); ?></a><a href="theme-install.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a></h2> 63 64 <?php 60 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2><?php 61 else : 62 ?><h2 class="nav-tab-wrapper"><a href="themes.php" class="nav-tab"><?php echo esc_html_x('Manage Themes', 'theme'); ?></a><a href="theme-install.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a><?php $current_screen->print_toggles(); ?></h2><?php 65 63 endif; 66 64 67 65 $wp_list_table->views(); ?> -
wp-admin/themes.php
75 75 screen_icon(); 76 76 if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?> 77 77 <h2 class="nav-tab-wrapper"> 78 <a href="themes.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a><a href="<?php echo admin_url( 'theme-install.php'); ?>" class="nav-tab"><?php echo esc_html_x('Install Themes', 'theme'); ?></a> 79 <?php else : ?> 80 <h2><?php echo esc_html( $title ); ?> 81 <?php endif; ?> 78 <a href="themes.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a><a href="<?php echo admin_url( 'theme-install.php'); ?>" class="nav-tab"><?php echo esc_html_x('Install Themes', 'theme'); ?></a><?php 79 $current_screen->print_toggles(); 80 else : ?> 81 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); 82 endif; ?> 82 83 </h2> 83 84 84 85 <h3><?php _e('Current Theme'); ?></h3> -
wp-admin/tools.php
28 28 ?> 29 29 <div class="wrap"> 30 30 <?php screen_icon(); ?> 31 <h2><?php echo esc_html( $title ); ?></h2>31 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 32 32 33 33 <?php if ( current_user_can('edit_posts') ) : ?> 34 34 <div class="tool-box"> -
wp-admin/upload.php
164 164 <div class="wrap"> 165 165 <?php screen_icon(); ?> 166 166 <h2><?php echo esc_html( $title ); ?> <a href="media-new.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a> <?php 167 167 168 if ( ! empty( $_REQUEST['s'] ) ) 168 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', get_search_query() ); ?> 169 </h2> 169 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', get_search_query() ); 170 170 171 $current_screen->print_toggles(); 172 ?></h2> 173 171 174 <?php 172 175 $message = ''; 173 176 if ( ! empty( $_GET['posted'] ) ) { -
wp-admin/user-edit.php
170 170 171 171 <div class="wrap" id="profile-page"> 172 172 <?php screen_icon(); ?> 173 <h2> 174 <?php 173 <h2><?php 175 174 echo esc_html( $title ); 175 176 176 if ( ! IS_PROFILE_PAGE ) { 177 177 if ( current_user_can( 'create_users' ) ) { ?> 178 178 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a> 179 179 <?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?> 180 180 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a> 181 181 <?php } 182 } ?> 183 </h2> 182 } 184 183 184 $current_screen->print_toggles(); 185 ?></h2> 186 185 187 <form id="your-profile" action="<?php echo esc_url( self_admin_url( IS_PROFILE_PAGE ? 'profile.php' : 'user-edit.php' ) ); ?>" method="post"<?php do_action('user_edit_form_tag'); ?>> 186 188 <?php wp_nonce_field('update-user_' . $user_id) ?> 187 189 <?php if ( $wp_http_referer ) : ?> -
wp-admin/user-new.php
189 189 <div class="wrap"> 190 190 <?php screen_icon(); ?> 191 191 <h2 id="add-new-user"> <?php 192 if ( current_user_can( 'create_users' ) ) { 192 193 if ( current_user_can( 'create_users' ) ) 193 194 echo _x( 'Add New User', 'user' ); 194 } elseif ( current_user_can( 'promote_users' ) ) { 195 elseif ( current_user_can( 'promote_users' ) ) 195 196 echo _x( 'Add Existing User', 'user' ); 196 } ?>197 </h2>198 197 198 $current_screen->print_toggles(); 199 ?></h2> 200 199 201 <?php if ( isset($errors) && is_wp_error( $errors ) ) : ?> 200 202 <div class="error"> 201 203 <ul> -
wp-admin/users.php
359 359 360 360 <div class="wrap"> 361 361 <?php screen_icon(); ?> 362 <h2> 363 <?php 362 <h2><?php 364 363 echo esc_html( $title ); 364 365 365 if ( current_user_can( 'create_users' ) ) { ?> 366 366 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a> 367 367 <?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?> … … 369 369 <?php } 370 370 371 371 if ( $usersearch ) 372 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $usersearch ) ); ?> 373 </h2> 372 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $usersearch ) ); 374 373 374 $current_screen->print_toggles(); 375 ?></h2> 376 375 377 <?php $wp_list_table->views(); ?> 376 378 377 379 <form action="" method="get"> -
wp-admin/widgets.php
301 301 302 302 <div class="wrap"> 303 303 <?php screen_icon(); ?> 304 <h2><?php echo esc_html( $title ); ?></h2>304 <h2><?php echo esc_html( $title ); $current_screen->print_toggles(); ?></h2> 305 305 306 306 <?php if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) { ?> 307 307 <div id="message" class="updated"><p><?php echo $messages[$_GET['message']]; ?></p></div> -
wp-content/themes/twentyeleven/inc/theme-options.php
293 293 ?> 294 294 <div class="wrap"> 295 295 <?php screen_icon(); ?> 296 <h2><?php printf( __( '%s Theme Options', 'twentyeleven' ), get_current_theme() ); ?></h2>296 <h2><?php printf( __( '%s Theme Options', 'twentyeleven' ), get_current_theme() ); $current_screen->print_toggles(); ?></h2> 297 297 <?php settings_errors(); ?> 298 298 299 299 <form method="post" action="options.php"> … … 425 425 426 426 return array_merge( $existing_classes, $classes ); 427 427 } 428 add_filter( 'body_class', 'twentyeleven_layout_classes' ); 429 No newline at end of file 428 add_filter( 'body_class', 'twentyeleven_layout_classes' ); -
wp-includes/admin-bar.php
633 633 } 634 634 635 635 /** 636 * Add help link.637 *638 * @since 3.3.0639 */640 function wp_admin_bar_help_menu( $wp_admin_bar ) {641 $wp_admin_bar->add_menu( array(642 'id' => 'help',643 'title' => __('Help'),644 'href' => '#',645 'meta' => array(646 'class' => 'screen-meta-toggle hide-if-no-js',647 ),648 ) );649 }650 651 /**652 636 * Add search form. 653 637 * 654 638 * @since 3.3.0 -
wp-includes/class-wp-admin-bar.php
201 201 add_action( 'admin_bar_menu', 'wp_admin_bar_edit_menu', 80 ); 202 202 add_action( 'admin_bar_menu', 'wp_admin_bar_shortlink_menu', 90 ); 203 203 204 if ( ! is_admin() ) {204 if ( ! is_admin() ) 205 205 add_action( 'admin_bar_menu', 'wp_admin_bar_search_menu', 100 ); 206 } else { 207 add_action( 'admin_bar_menu', 'wp_admin_bar_help_menu', 90 ); 208 } 209 206 210 207 do_action( 'add_admin_bar_menus' ); 211 208 } 212 209 } 213 ?> 214 No newline at end of file 210 ?> -
wp-includes/css/admin-bar.dev.css
178 178 } 179 179 180 180 #wpadminbar.nojs .ab-top-menu > li.menupop:hover, 181 #wpadminbar .ab-top-menu li.menupop.hover, 182 #wpadminbar .ab-top-menu .selected.screen-meta-toggle { 181 #wpadminbar .ab-top-menu li.menupop.hover { 183 182 background: #fff; 184 183 } 185 184 186 185 #wpadminbar.nojs .quicklinks .menupop:hover a, 187 186 #wpadminbar.nojs .quicklinks .menupop:hover span, 188 187 #wpadminbar .quicklinks .menupop.hover a, 189 #wpadminbar .quicklinks .menupop.hover span, 190 #wpadminbar .ab-top-menu .selected.screen-meta-toggle a, 191 #wpadminbar .ab-top-menu .selected.screen-meta-toggle span { 188 #wpadminbar .quicklinks .menupop.hover span { 192 189 color: #333; 193 190 text-shadow: none; 194 191 }