Collapse crazyhorse to trunk. Incoming! see #7552

git-svn-id: https://develop.svn.wordpress.org/trunk@8691 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-08-20 21:42:31 +00:00
parent 2f3d21476b
commit 6db75e59d4
62 changed files with 2541 additions and 1122 deletions

View File

@@ -8,10 +8,6 @@
@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
if (!isset($_GET["page"])) require_once('admin.php');
if ( $editing ) {
if ( user_can_richedit() )
wp_enqueue_script( 'wp_tiny_mce' );
}
wp_enqueue_script( 'wp-gears' );
$min_width_pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php', 'widgets.php', 'comment.php', 'link.php' );
@@ -33,6 +29,9 @@ if ( in_array( $the_current_page, $min_width_pages ) ) {
add_filter( 'admin_body_class', 'add_minwidth' );
}
$fixed_bar_pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php' );
if ( ! isset($fixed_bar) ) $fixed_bar = in_array( $the_current_page, $fixed_bar_pages ) ? true : false;
get_admin_page_title();
?>
@@ -143,3 +142,7 @@ if ( $parent_file == 'options-general.php' ) {
}
?>
<div id="wpbody">
<?php if ( ! $fixed_bar ) { ?>
<div id="wpbody-content">
<?php } ?>