From 39e0608b335cb2c17d90dd5d50a3af0891fb8969 Mon Sep 17 00:00:00 2001 From: azaozz Date: Thu, 21 Aug 2008 02:25:14 +0000 Subject: [PATCH] Some css cleanup and fixes after the merge, see #7552 git-svn-id: http://svn.automattic.com/wordpress/trunk@8697 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-footer.php | 4 +--- wp-admin/admin-header.php | 6 ------ wp-admin/comment.php | 2 -- wp-admin/edit-form-advanced.php | 10 ++-------- wp-admin/edit-form-comment.php | 6 +----- wp-admin/edit-link-form.php | 18 +++++------------- wp-admin/edit-page-form.php | 5 ----- wp-admin/link-add.php | 1 - wp-admin/link.php | 1 - wp-admin/wp-admin.css | 12 ++++++++---- 10 files changed, 17 insertions(+), 48 deletions(-) diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php index da2d74add..eb0501c2e 100644 --- a/wp-admin/admin-footer.php +++ b/wp-admin/admin-footer.php @@ -5,11 +5,9 @@ * @package WordPress * @subpackage Administration */ +?> -if ( ! $fixed_bar ) { ?>
- - diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index 86e78e308..5720e13bc 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -29,9 +29,6 @@ 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(); ?> @@ -142,7 +139,4 @@ if ( $parent_file == 'options-general.php' ) { } ?>
- -
- diff --git a/wp-admin/comment.php b/wp-admin/comment.php index 5b5923544..eb9bf6dd0 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -34,8 +34,6 @@ case 'editcomment' : $title = __('Edit Comment'); wp_enqueue_script('comment'); - $fixed_bar = true; - require_once('admin-header.php'); $comment_id = absint( $_GET['c'] ); diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 7d272e55a..e43e12abc 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -56,9 +56,6 @@ if ( 0 == $post_ID ) { ?>
-
- -

- +

+ @@ -535,9 +532,6 @@ do_action('dbx_post_sidebar');
-
-
- post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message'])) : ?> diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 9d9dfb3c2..fe46410cd 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -16,8 +16,6 @@ $form_extra = "' />\ncomment_ID) ?>

@@ -25,7 +23,7 @@ $form_extra = "' />\n
- +
- -