Back to one form so filters stack

git-svn-id: http://svn.automattic.com/wordpress/trunk@9351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-10-25 23:49:55 +00:00
parent 00e2684feb
commit 2ddfa72692
1 changed files with 2 additions and 5 deletions

View File

@ -137,6 +137,7 @@ endif; ?>
<div class="wrap"> <div class="wrap">
<h2><?php echo wp_specialchars( $title ); ?></h2> <h2><?php echo wp_specialchars( $title ); ?></h2>
<form id="posts-filter" action="" method="get">
<ul class="subsubsub"> <ul class="subsubsub">
<?php <?php
@ -164,15 +165,11 @@ endif;
?> ?>
</ul> </ul>
<form class="search-form" action="" method="get">
<p class="search-box"> <p class="search-box">
<label class="hidden" for="page-search-input"><?php _e( 'Search Pages' ); ?>:</label> <label class="hidden" for="page-search-input"><?php _e( 'Search Pages' ); ?>:</label>
<input type="text" class="search-input" id="page-search-input" name="s" value="<?php _admin_search_query(); ?>" /> <input type="text" class="search-input" id="page-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button-primary" /> <input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button-primary" />
</p> </p>
</form>
<form id="posts-filter" action="" method="get">
<?php if ( isset($_GET['post_status'] ) ) : ?> <?php if ( isset($_GET['post_status'] ) ) : ?>
<input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" /> <input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" />