Changeset 8691 for trunk/wp-admin/admin-header.php
- Timestamp:
- 08/20/2008 09:42:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r8645 r8691 9 9 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 10 10 if (!isset($_GET["page"])) require_once('admin.php'); 11 if ( $editing ) {12 if ( user_can_richedit() )13 wp_enqueue_script( 'wp_tiny_mce' );14 }15 11 wp_enqueue_script( 'wp-gears' ); 16 12 … … 33 29 add_filter( 'admin_body_class', 'add_minwidth' ); 34 30 } 31 32 $fixed_bar_pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php' ); 33 if ( ! isset($fixed_bar) ) $fixed_bar = in_array( $the_current_page, $fixed_bar_pages ) ? true : false; 35 34 36 35 get_admin_page_title(); … … 144 143 ?> 145 144 <div id="wpbody"> 145 146 <?php if ( ! $fixed_bar ) { ?> 147 <div id="wpbody-content"> 148 <?php } ?>
Note: See TracChangeset
for help on using the changeset viewer.