Changeset 8867 for trunk/wp-admin/categories.php
- Timestamp:
- 09/11/2008 06:54:05 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/categories.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/categories.php
r8839 r8867 120 120 ?> 121 121 122 <?php if (isset($_GET['message'])) : ?> 123 <div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div> 122 <form class="search-form" action="" method="get"> 123 <p id="category-search" class="search-box"> 124 <label class="hidden" for="category-search-input"><?php _e('Search Categories'); ?></label> 125 <input type="text" id="category-search-input" class="search-input" name="s" value="<?php the_search_query(); ?>" /> 126 <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" /> 127 </p> 128 </form> 129 130 <?php if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?> 131 <div id="message" class="updated fade"><p><?php echo $messages[$msg]; ?></p></div> 124 132 <?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']); 125 133 endif; ?> … … 128 136 <form id="posts-filter" action="" method="get"> 129 137 <h2><?php printf( current_user_can('manage_categories') ? __('Categories (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addcat' ); ?></h2> 130 131 <p id="category-search" class="search-box">132 <label class="hidden" for="category-search-input"><?php _e('Search Categories'); ?></label>133 <input type="text" id="category-search-input" class="search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />134 <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />135 </p>136 138 137 139 <br class="clear" />
Note: See TracChangeset
for help on using the changeset viewer.