Changeset 8682 for trunk/wp-admin/edit-tags.php
- Timestamp:
- 08/20/2008 04:06:36 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tags.php
r8656 r8682 11 11 12 12 $title = __('Tags'); 13 $parent_file = 'edit.php';14 13 15 14 wp_reset_vars(array('action', 'tag')); 16 15 17 if ( isset($_GET['deleteit'])&& isset($_GET['delete_tags']) )16 if ( $_GET['action'] == 'delete' && isset($_GET['delete_tags']) ) 18 17 $action = 'bulk-delete'; 19 18 … … 135 134 136 135 <form id="posts-filter" action="" method="get"> 137 <?php if ( current_user_can('manage_categories') ) : ?> 138 <h2><?php printf(__('Manage Tags (<a href="%s">add new</a>)'), '#addtag') ?> </h2> 139 <?php else : ?> 140 <h2><?php _e('Manage Tags') ?> </h2> 141 <?php endif; ?> 136 <h2><?php printf( current_user_can('manage_categories') ? __('Tags (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addtag' ); ?></h2> 142 137 143 138 <p id="post-search"> … … 170 165 171 166 <div class="alignleft"> 172 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" /> 167 <select name="action"> 168 <option value="" selected><?php _e('Actions'); ?></option> 169 <option value="delete"><?php _e('Delete'); ?></option> 170 </select> 171 <input type="submit" value="<?php _e('Apply'); ?>" name="doaction" class="button-secondary action" /> 173 172 <?php wp_nonce_field('bulk-tags'); ?> 174 173 </div>
Note: See TracChangeset
for help on using the changeset viewer.