Changeset 19130 for trunk/wp-admin/includes/screen.php
- Timestamp:
- 11/03/2011 05:08:12 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/screen.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/screen.php
r19119 r19130 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"> … … 749 738 </div> 750 739 </div> 740 <?php 741 // Add screen options 742 if ( $this->show_screen_options() ) 743 $this->render_screen_options(); 744 ?> 745 </div> 746 <div class="screen-meta-toggle"> 747 <?php 748 749 if ( $this->show_screen_options() ) 750 echo '<a href="#screen-options-wrap">' . __('Screen Options') . '</a> |'; 751 ?> 752 <a href="#contextual-help-wrap"><?php _e('Help'); ?></a> 751 753 </div> 752 754 <?php … … 790 792 791 793 ?> 794 <div id="screen-options-wrap" class="hidden"> 792 795 <form id="adv-settings" action="" method="post"> 793 796 <?php … … 841 844 <div><?php wp_nonce_field( 'screen-options-nonce', 'screenoptionnonce', false ); ?></div> 842 845 </form> 846 </div> 843 847 <?php 844 848 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)