Make WordPress Core


Ignore:
Timestamp:
08/20/2008 04:06:36 AM (17 years ago)
Author:
ryan
Message:

Merge crazyhorse management pages. see #7552

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-tags.php

    r8656 r8682  
    1111
    1212$title = __('Tags');
    13 $parent_file = 'edit.php';
    1413
    1514wp_reset_vars(array('action', 'tag'));
    1615
    17 if ( isset($_GET['deleteit']) && isset($_GET['delete_tags']) )
     16if ( $_GET['action'] == 'delete' && isset($_GET['delete_tags']) )
    1817    $action = 'bulk-delete';
    1918
     
    135134
    136135<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>
    142137
    143138<p id="post-search">
     
    170165
    171166<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" />
    173172<?php wp_nonce_field('bulk-tags'); ?>
    174173</div>
Note: See TracChangeset for help on using the changeset viewer.