Make WordPress Core


Ignore:
Timestamp:
09/19/2008 05:31:00 AM (17 years ago)
Author:
ryan
Message:

Column hiding for users. see #7725

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/users.php

    r8916 r8936  
    262262
    263263<div class="wrap">
     264
     265<div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Advanced Options') ?></a>
     266<a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Options') ?></a></div>
     267
     268<div id="edit-settings" class="hide-if-js hide-if-no-js">
     269<div id="edit-settings-wrap">
     270<h5><?php _e('Show on screen') ?></h5>
     271<div class="metabox-prefs">
     272<?php manage_columns_prefs('user') ?>
     273<br class="clear" />
     274</div></div>
     275</div>
     276
    264277<form id="posts-filter" action="" method="get">
    265278    <?php if ( $wp_user_search->is_search() ) : ?>
     
    351364<thead>
    352365<tr class="thead">
    353     <th scope="col" class="check-column"><input type="checkbox" /></th>
    354     <th><?php _e('Username') ?></th>
    355     <th><?php _e('Name') ?></th>
    356     <th><?php _e('E-mail') ?></th>
    357     <th><?php _e('Role') ?></th>
    358     <th class="num"><?php _e('Posts') ?></th>
     366<?php print_column_headers('user') ?>
    359367</tr>
    360368</thead>
     
    384392
    385393<?php endif; ?>
    386 
     394<?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?>
    387395</form>
    388396</div>
Note: See TracChangeset for help on using the changeset viewer.