Restore search boxes. CSS to-do. Props Viper007Bond. see #7552

git-svn-id: https://develop.svn.wordpress.org/trunk@9069 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-10-02 18:03:45 +00:00
parent 6c30d5f7a1
commit a90dbc6f4d
8 changed files with 56 additions and 0 deletions

View File

@@ -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; ?>