Restore search boxes. CSS to-do. Props Viper007Bond. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f854bdf2c0
commit
64fe249bb7
|
@ -140,6 +140,13 @@ endif; ?>
|
|||
<div class="wrap">
|
||||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
|
||||
<p id="post-search">
|
||||
<label class="hidden" for="post-search-input"><?php _e('Search Categories'); ?>:</label>
|
||||
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />
|
||||
</p>
|
||||
|
||||
<div class="tablenav">
|
||||
|
||||
<?php
|
||||
|
|
|
@ -173,6 +173,16 @@ unset($status_links);
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
|
||||
<p id="post-search">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Comments' ); ?>:</label>
|
||||
<input type="text" id="post-search-input" name="s" value="<?php echo $search; ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
<?php
|
||||
$comments_per_page = apply_filters('comments_per_page', 20, $comment_status);
|
||||
|
||||
|
|
|
@ -76,6 +76,13 @@ endif; ?>
|
|||
<div class="wrap">
|
||||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
|
||||
<p id="post-search">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Categories' ); ?>:</label>
|
||||
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />
|
||||
</p>
|
||||
|
||||
<div class="tablenav">
|
||||
|
||||
<?php
|
||||
|
|
|
@ -165,6 +165,12 @@ endif;
|
|||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
|
||||
<p id="post-search">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Pages' ); ?>:</label>
|
||||
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" />
|
||||
</p>
|
||||
|
||||
<?php if ( isset($_GET['post_status'] ) ) : ?>
|
||||
<input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" />
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -143,6 +143,13 @@ endif; ?>
|
|||
<div class="wrap">
|
||||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
|
||||
<p id="post-search">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Tags' ); ?>:</label>
|
||||
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Tags' ); ?>" class="button" />
|
||||
</p>
|
||||
|
||||
<div class="tablenav">
|
||||
|
||||
<?php
|
||||
|
|
|
@ -204,6 +204,12 @@ do_action('restrict_manage_posts');
|
|||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
|
||||
<p id="post-search">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label>
|
||||
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Posts' ); ?>" class="button" />
|
||||
</p>
|
||||
|
||||
<?php if ( isset($_GET['post_status'] ) ) : ?>
|
||||
<input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" />
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -120,6 +120,13 @@ echo $select_order;
|
|||
</form>
|
||||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
|
||||
<p id="post-search">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Links' ); ?>:</label>
|
||||
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button" />
|
||||
</p>
|
||||
|
||||
<div class="tablenav">
|
||||
|
||||
<div class="alignleft">
|
||||
|
|
|
@ -254,6 +254,12 @@ foreach ($arc_result as $arc_row) {
|
|||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
|
||||
<p id="post-search">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Media' ); ?>:</label>
|
||||
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Media' ); ?>" class="button" />
|
||||
</p>
|
||||
|
||||
<div class="tablenav">
|
||||
<?php
|
||||
if ( ! isset($page_links_total) )
|
||||
|
|
Loading…
Reference in New Issue