Make WordPress Core


Ignore:
Timestamp:
09/18/2008 05:41:45 AM (18 years ago)
Author:
ryan
Message:

Consolidate column header code. Add column hiding to taxonomy pages (incomplete). see #7725

File:
1 edited

Legend:

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

    r8867 r8923  
    142142
    143143<form id="posts-filter" action="" method="get">
     144
     145<div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Advanced Options') ?></a>
     146<a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Options') ?></a></div>
     147
     148<div id="edit-settings" class="hide-if-js hide-if-no-js">
     149<div id="edit-settings-wrap">
     150<h5><?php _e('Show on screen') ?></h5>
     151<div class="metabox-prefs">
     152<?php manage_columns_prefs('tag') ?>
     153<br class="clear" />
     154</div></div>
     155</div>
     156
    144157    <h2><?php printf( current_user_can('manage_categories') ? __('Tags (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addtag' ); ?></h2>
    145158
     
    183196    <thead>
    184197    <tr>
    185     <th scope="col" class="check-column"><input type="checkbox" /></th>
    186         <th scope="col"><?php _e('Name') ?></th>
    187         <th scope="col" class="num" style="width: 90px"><?php _e('Posts') ?></th>
     198<?php print_column_headers('tag'); ?>
    188199    </tr>
    189200    </thead>
Note: See TracChangeset for help on using the changeset viewer.