From 39b77958fdf59e3e6265d242f6aca917164843f3 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 25 Sep 2008 21:54:14 +0000 Subject: [PATCH] Remove per page search boxes git-svn-id: http://svn.automattic.com/wordpress/trunk@8984 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/categories.php | 11 +---------- wp-admin/edit-comments.php | 10 ---------- wp-admin/edit-link-categories.php | 10 ---------- wp-admin/edit-pages.php | 12 +----------- wp-admin/edit-tags.php | 11 +---------- wp-admin/edit.php | 11 +---------- wp-admin/link-manager.php | 10 ---------- wp-admin/menu-header.php | 4 ++-- wp-admin/upload.php | 8 -------- 9 files changed, 6 insertions(+), 81 deletions(-) diff --git a/wp-admin/categories.php b/wp-admin/categories.php index 091c580173..2d30360edf 100644 --- a/wp-admin/categories.php +++ b/wp-admin/categories.php @@ -117,17 +117,8 @@ $messages[2] = __('Category deleted.'); $messages[3] = __('Category updated.'); $messages[4] = __('Category not added.'); $messages[5] = __('Category not updated.'); -?> -
- -
- - +if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>

diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index e582bd0127..cd368ea82c 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -67,17 +67,7 @@ $comment_status = isset($_GET['comment_status']) ? attribute_escape($_GET['comme $search_dirty = ( isset($_GET['s']) ) ? $_GET['s'] : ''; $search = attribute_escape( $search_dirty ); -?> -
- -
- - -
- -
- -

- -
- -
- - +if ( isset($_GET['upd']) && (int) $_GET['upd'] ) { ?>

-

- -
- - +if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>

diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 0583782847..e507392333 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -89,17 +89,8 @@ if ( empty($_GET['mode']) ) $mode = 'list'; else $mode = attribute_escape($_GET['mode']); -?> -
-

- - - -

-
- - +if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>

|

diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 7c5fe9c80b..65a9f73ee9 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -72,17 +72,7 @@ switch ($order_by) { $sqlorderby = 'name'; break; } -?> -
- -
- -

'; $deleted = (int) $_GET['deleted']; diff --git a/wp-admin/menu-header.php b/wp-admin/menu-header.php index bb784eccf5..a5d7df3bcb 100644 --- a/wp-admin/menu-header.php +++ b/wp-admin/menu-header.php @@ -123,8 +123,8 @@ do_action( 'adminmenu' );

  • diff --git a/wp-admin/upload.php b/wp-admin/upload.php index 6f10c6704a..f694ffa6d9 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -137,14 +137,6 @@ if ( is_singular() ) { require_once('admin-header.php'); ?> -
    - -
    -