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

git-svn-id: http://svn.automattic.com/wordpress/trunk@8867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2008-09-11 18:54:05 +00:00
parent 68f9ff53b9
commit f7f0523642
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>