Changeset 8867 for trunk/wp-admin/edit-link-categories.php
- Timestamp:
- 09/11/2008 06:54:05 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-link-categories.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-link-categories.php
r8839 r8867 57 57 $messages[5] = __('Category not updated.'); 58 58 $messages[6] = __('Categories deleted.'); 59 ?> 59 60 60 if (isset($_GET['message'])) : ?> 61 <div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div> 61 <form class="search-form" action="" method="get"> 62 <p id="link-category-search" class="search-box"> 63 <label class="hidden" for="link-category-search-input"><?php _e( 'Search Categories' ); ?></label> 64 <input type="text" id="link-category-search-input" class="search-input" name="s" value="<?php the_search_query(); ?>" /> 65 <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" /> 66 </p> 67 </form> 68 69 <?php 70 if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?> 71 <div id="message" class="updated fade"><p><?php echo $messages[$msg]; ?></p></div> 62 72 <?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']); 63 73 endif; ?> … … 67 77 <form id="posts-filter" action="" method="get"> 68 78 <h2><?php printf( current_user_can('manage_categories') ? __('Link Categories (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addcat' ); ?></h2> 69 70 <p id="link-category-search" class="search-box">71 <label class="hidden" for="link-category-search-input"><?php _e( 'Search Categories' ); ?></label>72 <input type="text" id="link-category-search-input" class="search-input" name="s" value="<?php the_search_query(); ?>" />73 <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />74 </p>75 79 76 80 <br class="clear" />
Note: See TracChangeset
for help on using the changeset viewer.