WordPress.org

Make WordPress Core

Changeset 9069


Ignore:
Timestamp:
10/02/08 18:03:45 (6 years ago)
Author:
ryan
Message:

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

Location:
trunk/wp-admin
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/categories.php

    r9054 r9069  
    141141 
    142142<form id="posts-filter" action="" method="get"> 
     143 
     144<p id="post-search"> 
     145    <label class="hidden" for="post-search-input"><?php _e('Search Categories'); ?>:</label> 
     146    <input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" /> 
     147    <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" /> 
     148</p> 
     149 
    143150<div class="tablenav"> 
    144151 
  • trunk/wp-admin/edit-comments.php

    r9054 r9069  
    174174</div> 
    175175 
     176<form id="posts-filter" action="" method="get"> 
     177 
     178<p id="post-search"> 
     179    <label class="hidden" for="post-search-input"><?php _e( 'Search Comments' ); ?>:</label> 
     180    <input type="text" id="post-search-input" name="s" value="<?php echo $search; ?>" /> 
     181    <input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" /> 
     182</p> 
     183 
     184</form> 
     185 
    176186<?php 
    177187$comments_per_page = apply_filters('comments_per_page', 20, $comment_status); 
  • trunk/wp-admin/edit-link-categories.php

    r9054 r9069  
    7777 
    7878<form id="posts-filter" action="" method="get"> 
     79 
     80<p id="post-search"> 
     81    <label class="hidden" for="post-search-input"><?php _e( 'Search Categories' ); ?>:</label> 
     82    <input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" /> 
     83    <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" /> 
     84</p> 
     85 
    7986<div class="tablenav"> 
    8087 
  • trunk/wp-admin/edit-pages.php

    r9054 r9069  
    166166<form id="posts-filter" action="" method="get"> 
    167167 
     168<p id="post-search"> 
     169    <label class="hidden" for="post-search-input"><?php _e( 'Search Pages' ); ?>:</label> 
     170    <input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" /> 
     171    <input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" /> 
     172</p> 
     173 
    168174<?php if ( isset($_GET['post_status'] ) ) : ?> 
    169175<input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" /> 
  • trunk/wp-admin/edit-tags.php

    r9054 r9069  
    144144 
    145145<form id="posts-filter" action="" method="get"> 
     146 
     147<p id="post-search"> 
     148    <label class="hidden" for="post-search-input"><?php _e( 'Search Tags' ); ?>:</label> 
     149    <input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" /> 
     150    <input type="submit" value="<?php _e( 'Search Tags' ); ?>" class="button" /> 
     151</p> 
     152 
    146153<div class="tablenav"> 
    147154 
  • trunk/wp-admin/edit.php

    r9054 r9069  
    205205<form id="posts-filter" action="" method="get"> 
    206206 
     207<p id="post-search"> 
     208    <label class="hidden" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label> 
     209    <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" /> 
     210    <input type="submit" value="<?php _e( 'Search Posts' ); ?>" class="button" /> 
     211</p> 
     212 
    207213<?php if ( isset($_GET['post_status'] ) ) : ?> 
    208214<input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" /> 
  • trunk/wp-admin/link-manager.php

    r9054 r9069  
    121121 
    122122<form id="posts-filter" action="" method="get"> 
     123 
     124<p id="post-search"> 
     125    <label class="hidden" for="post-search-input"><?php _e( 'Search Links' ); ?>:</label> 
     126    <input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" /> 
     127    <input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button" /> 
     128</p> 
     129 
    123130<div class="tablenav"> 
    124131 
  • trunk/wp-admin/upload.php

    r9054 r9069  
    254254 
    255255<form id="posts-filter" action="" method="get"> 
     256 
     257<p id="post-search"> 
     258    <label class="hidden" for="post-search-input"><?php _e( 'Search Media' ); ?>:</label> 
     259    <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" /> 
     260    <input type="submit" value="<?php _e( 'Search Media' ); ?>" class="button" /> 
     261</p> 
    256262 
    257263<div class="tablenav"> 
Note: See TracChangeset for help on using the changeset viewer.