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:
ryan
2008-10-02 18:03:45 +00:00
parent f854bdf2c0
commit 64fe249bb7
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; ?>