Make WordPress Core

Changeset 9341


Ignore:
Timestamp:
10/25/2008 06:43:33 PM (16 years ago)
Author:
westi
Message:

unique search input ids.

Location:
trunk/wp-admin
Files:
8 edited

Legend:

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

    r9328 r9341  
    153153<form class="search-form topmargin" action="" method="get">
    154154<p class="search-box">
    155     <label class="hidden" for="post-search-input"><?php _e('Search Categories'); ?>:</label>
    156     <input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
     155    <label class="hidden" for="category-search-input"><?php _e('Search Categories'); ?>:</label>
     156    <input type="text" class="search-input" id="category-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    157157    <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button-primary" />
    158158</p>
  • trunk/wp-admin/edit-comments.php

    r9328 r9341  
    154154<form class="search-form" action="" method="get">
    155155<p class="search-box">
    156     <label class="hidden" for="post-search-input"><?php _e( 'Search Comments' ); ?>:</label>
    157     <input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
     156    <label class="hidden" for="comment-search-input"><?php _e( 'Search Comments' ); ?>:</label>
     157    <input type="text" class="search-input" id="comment-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    158158    <input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button-primary" />
    159159</p>
  • trunk/wp-admin/edit-link-categories.php

    r9328 r9341  
    8282<form class="search-form topmargin" action="" method="get">
    8383<p class="search-box">
    84     <label class="hidden" for="post-search-input"><?php _e( 'Search Categories' ); ?>:</label>
    85     <input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
     84    <label class="hidden" for="category-search-input"><?php _e( 'Search Categories' ); ?>:</label>
     85    <input type="text" class="search-input" id="category-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    8686    <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button-primary" />
    8787</p>
  • trunk/wp-admin/edit-pages.php

    r9328 r9341  
    167167<form class="search-form" action="" method="get">
    168168<p class="search-box">
    169     <label class="hidden" for="post-search-input"><?php _e( 'Search Pages' ); ?>:</label>
    170     <input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
     169    <label class="hidden" for="page-search-input"><?php _e( 'Search Pages' ); ?>:</label>
     170    <input type="text" class="search-input" id="page-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    171171    <input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button-primary" />
    172172</p>
  • trunk/wp-admin/edit-tags.php

    r9340 r9341  
    148148<form class="search-form topmargin" action="" method="get">
    149149<p class="search-box">
    150     <label class="hidden" for="post-search-input"><?php _e( 'Search Tags' ); ?>:</label>
    151     <input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
     150    <label class="hidden" for="tag-search-input"><?php _e( 'Search Tags' ); ?>:</label>
     151    <input type="text" class="search-input" id="tag-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    152152    <input type="submit" value="<?php _e( 'Search Tags' ); ?>" class="button-primary" />
    153153</p>
  • trunk/wp-admin/link-manager.php

    r9328 r9341  
    100100<form class="search-form topmargin" action="" method="get">
    101101<p class="search-box">
    102     <label class="hidden" for="post-search-input"><?php _e( 'Search Links' ); ?>:</label>
    103     <input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
     102    <label class="hidden" for="link-search-input"><?php _e( 'Search Links' ); ?>:</label>
     103    <input type="text" class="search-input" id="link-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    104104    <input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button" />
    105105</p>
  • trunk/wp-admin/upload.php

    r9328 r9341  
    219219<form class="search-form" action="" method="get">
    220220<p class="search-box">
    221     <label class="hidden" for="post-search-input"><?php _e( 'Search Media' ); ?>:</label>
    222     <input type="text" class="search-input" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
     221    <label class="hidden" for="media-search-input"><?php _e( 'Search Media' ); ?>:</label>
     222    <input type="text" class="search-input" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
    223223    <input type="submit" value="<?php _e( 'Search Media' ); ?>" class="button-primary" />
    224224</p>
  • trunk/wp-admin/users.php

    r9329 r9341  
    311311<form class="search-form" action="" method="get">
    312312<p class="search-box">
    313     <label class="hidden" for="post-search-input"><?php _e( 'Search Users' ); ?>:</label>
    314     <input type="text" class="search-input" id="post-search-input" name="usersearch" value="<?php echo attribute_escape($wp_user_search->search_term); ?>" />
     313    <label class="hidden" for="user-search-input"><?php _e( 'Search Users' ); ?>:</label>
     314    <input type="text" class="search-input" id="user-search-input" name="usersearch" value="<?php echo attribute_escape($wp_user_search->search_term); ?>" />
    315315    <input type="submit" value="<?php _e( 'Search Users' ); ?>" class="button" />
    316316</p>
Note: See TracChangeset for help on using the changeset viewer.