Make WordPress Core


Ignore:
Timestamp:
09/28/2008 04:11:27 AM (18 years ago)
Author:
azaozz
Message:

Move and adjust "Page Options" box

File:
1 edited

Legend:

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

    r8988 r9016  
    6767
    6868$search_dirty = ( isset($_GET['s']) ) ? $_GET['s'] : '';
    69 $search = attribute_escape( $search_dirty );
    70 
     69$search = attribute_escape( $search_dirty ); ?>
     70
     71<div id="edit-settings">
     72<a href="#edit_settings" id="show-settings-link" class="hide-if-no-js show-settings"><?php _e('Page Options') ?></a>
     73<div id="edit-settings-wrap" class="hidden">
     74<a href="#edit_settings" id="hide-settings-link" class="show-settings"><?php _e('Hide Options') ?></a>
     75<h5><?php _e('Show on screen') ?></h5>
     76<form id="adv-settings" action="" method="get">
     77<div class="metabox-prefs">
     78<?php manage_columns_prefs('comment') ?>
     79<?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?>
     80<br class="clear" />
     81</div></form>
     82</div></div>
     83
     84<?php
    7185if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['spam'] ) ) {
    7286    $approved = isset( $_GET['approved'] ) ? (int) $_GET['approved'] : 0;
     
    97111?>
    98112<div class="wrap">
    99 
    100 <form id="adv-settings" action="" method="get">
    101 <div id="show-settings" class="hide-if-no-js"><a href="#edit_settings" id="show-settings-link"><?php _e('Advanced Options') ?></a>
    102 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js"><?php _e('Hide Options') ?></a></div>
    103 
    104 <div id="edit-settings" class="hide-if-js hide-if-no-js">
    105 <div id="edit-settings-wrap">
    106 <h5><?php _e('Show on screen') ?></h5>
    107 <div class="metabox-prefs">
    108 <?php manage_columns_prefs('comment') ?>
    109 <br class="clear" />
    110 </div></div>
    111 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?>
    112 </div></form>
    113113
    114114<form id="posts-filter" action="" method="get">
Note: See TracChangeset for help on using the changeset viewer.