Make WordPress Core


Ignore:
Timestamp:
09/11/2008 06:54:05 PM (17 years ago)
Author:
azaozz
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r8856 r8867  
    7070?>
    7171
     72<form class="search-form" action="" method="get">
     73    <p id="comment-search" class="search-box">
     74        <label class="hidden" for="comment-search-input"><?php _e( 'Search Comments' ); ?></label>
     75        <input type="text" id="comment-search-input" class="search-input" name="s" value="<?php the_search_query(); ?>" />
     76        <input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" />
     77    </p>
     78</form>
     79
    7280<?php
    7381if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['spam'] ) ) {
     
    128136?>
    129137</ul>
    130 
    131 <p id="comment-search" class="search-box">
    132     <label class="hidden" for="comment-search-input"><?php _e( 'Search Comments' ); ?></label>
    133     <input type="text" id="comment-search-input" class="search-input" name="s" value="<?php the_search_query(); ?>" />
    134     <input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" />
    135 </p>
    136138
    137139<input type="hidden" name="mode" value="<?php echo $mode; ?>" />
Note: See TracChangeset for help on using the changeset viewer.