unique search input ids.

git-svn-id: http://svn.automattic.com/wordpress/trunk@9341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2008-10-25 18:43:33 +00:00
parent ce62669cc4
commit fe49f8d967
8 changed files with 16 additions and 16 deletions

View File

@ -152,8 +152,8 @@ endif; ?>
<form class="search-form topmargin" action="" method="get">
<p class="search-box">
<label class="hidden" for="post-search-input"><?php _e('Search Categories'); ?>:</label>
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<label class="hidden" for="category-search-input"><?php _e('Search Categories'); ?>:</label>
<input type="text" class="search-input" id="category-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button-primary" />
</p>
</form>

View File

@ -153,8 +153,8 @@ unset($status_links);
<form class="search-form" action="" method="get">
<p class="search-box">
<label class="hidden" for="post-search-input"><?php _e( 'Search Comments' ); ?>:</label>
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<label class="hidden" for="comment-search-input"><?php _e( 'Search Comments' ); ?>:</label>
<input type="text" class="search-input" id="comment-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button-primary" />
</p>
</form>

View File

@ -81,8 +81,8 @@ endif; ?>
<ul class="subsubsub"><li><a class="current"><br /></a></li></ul>
<form class="search-form topmargin" action="" method="get">
<p class="search-box">
<label class="hidden" for="post-search-input"><?php _e( 'Search Categories' ); ?>:</label>
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<label class="hidden" for="category-search-input"><?php _e( 'Search Categories' ); ?>:</label>
<input type="text" class="search-input" id="category-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button-primary" />
</p>
</form>

View File

@ -166,8 +166,8 @@ endif;
<form class="search-form" action="" method="get">
<p class="search-box">
<label class="hidden" for="post-search-input"><?php _e( 'Search Pages' ); ?>:</label>
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<label class="hidden" for="page-search-input"><?php _e( 'Search Pages' ); ?>:</label>
<input type="text" class="search-input" id="page-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button-primary" />
</p>
</form>

View File

@ -147,8 +147,8 @@ endif; ?>
<form class="search-form topmargin" action="" method="get">
<p class="search-box">
<label class="hidden" for="post-search-input"><?php _e( 'Search Tags' ); ?>:</label>
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<label class="hidden" for="tag-search-input"><?php _e( 'Search Tags' ); ?>:</label>
<input type="text" class="search-input" id="tag-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Tags' ); ?>" class="button-primary" />
</p>
</form>

View File

@ -99,8 +99,8 @@ if ( isset($_GET['deleted']) ) {
<form class="search-form topmargin" action="" method="get">
<p class="search-box">
<label class="hidden" for="post-search-input"><?php _e( 'Search Links' ); ?>:</label>
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<label class="hidden" for="link-search-input"><?php _e( 'Search Links' ); ?>:</label>
<input type="text" class="search-input" id="link-search-input" name="s" value="<?php _admin_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button" />
</p>
</form>

View File

@ -218,8 +218,8 @@ unset($type_links);
<form class="search-form" action="" method="get">
<p class="search-box">
<label class="hidden" for="post-search-input"><?php _e( 'Search Media' ); ?>:</label>
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
<label class="hidden" for="media-search-input"><?php _e( 'Search Media' ); ?>:</label>
<input type="text" class="search-input" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Media' ); ?>" class="button-primary" />
</p>
</form>

View File

@ -310,8 +310,8 @@ unset($role_links);
<form class="search-form" action="" method="get">
<p class="search-box">
<label class="hidden" for="post-search-input"><?php _e( 'Search Users' ); ?>:</label>
<input type="text" class="search-input" id="post-search-input" name="usersearch" value="<?php echo attribute_escape($wp_user_search->search_term); ?>" />
<label class="hidden" for="user-search-input"><?php _e( 'Search Users' ); ?>:</label>
<input type="text" class="search-input" id="user-search-input" name="usersearch" value="<?php echo attribute_escape($wp_user_search->search_term); ?>" />
<input type="submit" value="<?php _e( 'Search Users' ); ?>" class="button" />
</p>
</form>