Make WordPress Core


Ignore:
Timestamp:
09/11/2008 01:46:30 AM (18 years ago)
Author:
ryan
Message:

Column hiding for manage posts. see #7725

File:
1 edited

Legend:

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

    r8857 r8858  
    5252wp_enqueue_script('admin-forms');
    5353wp_enqueue_script('inline-edit');
    54 
     54wp_enqueue_script('posts');
    5555
    5656list($post_stati, $avail_post_stati) = wp_edit_posts_query();
     
    7575
    7676<form id="posts-filter" action="" method="get">
     77
     78<div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Show Settings') ?></a>
     79<a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Settings') ?></a></div>
     80
     81<div id="edit-settings" class="hide-if-js hide-if-no-js">
     82<div id="edit-settings-wrap">
     83<h5><?php _e('Show on screen') ?></h5>
     84<div class="metabox-prefs">
     85<?php manage_columns_prefs('post') ?>
     86<br class="clear" />
     87</div></div>
     88</div>
     89
    7790<h2><?php
    7891if ( is_single() ) {
     
    227240<?php include( 'edit-post-rows.php' ); ?>
    228241
     242<?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?>
     243
    229244</form>
    230245
Note: See TracChangeset for help on using the changeset viewer.