Fix the position of the search field on all admin pages.

git-svn-id: https://develop.svn.wordpress.org/trunk@8867 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-09-11 18:54:05 +00:00
parent 57f978fede
commit 0bfa8da71c
12 changed files with 112 additions and 103 deletions

View File

@@ -69,6 +69,14 @@ $search_dirty = ( isset($_GET['s']) ) ? $_GET['s'] : '';
$search = attribute_escape( $search_dirty );
?>
<form class="search-form" action="" method="get">
<p id="comment-search" class="search-box">
<label class="hidden" for="comment-search-input"><?php _e( 'Search Comments' ); ?></label>
<input type="text" id="comment-search-input" class="search-input" name="s" value="<?php the_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" />
</p>
</form>
<?php
if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['spam'] ) ) {
$approved = isset( $_GET['approved'] ) ? (int) $_GET['approved'] : 0;
@@ -128,12 +136,6 @@ unset($status_links);
?>
</ul>
<p id="comment-search" class="search-box">
<label class="hidden" for="comment-search-input"><?php _e( 'Search Comments' ); ?></label>
<input type="text" id="comment-search-input" class="search-input" name="s" value="<?php the_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" />
</p>
<input type="hidden" name="mode" value="<?php echo $mode; ?>" />
<input type="hidden" name="comment_status" value="<?php echo $comment_status; ?>" />
</form>