Make WordPress Core


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

Move and adjust "Page Options" box

File:
1 edited

Legend:

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

    r8984 r9016  
    118118$messages[4] = __('Category not added.');
    119119$messages[5] = __('Category not updated.');
    120 
     120?>
     121
     122<div id="edit-settings">
     123<a href="#edit_settings" id="show-settings-link" class="hide-if-no-js show-settings"><?php _e('Page Options') ?></a>
     124<div id="edit-settings-wrap" class="hidden">
     125<a href="#edit_settings" id="hide-settings-link" class="show-settings"><?php _e('Hide Options') ?></a>
     126<h5><?php _e('Show on screen') ?></h5>
     127<form id="adv-settings" action="" method="get">
     128<div class="metabox-prefs">
     129<?php manage_columns_prefs('category') ?>
     130<?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?>
     131<br class="clear" />
     132</div></form>
     133</div></div>
     134
     135<?php
    121136if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>
    122137<div id="message" class="updated fade"><p><?php echo $messages[$msg]; ?></p></div>
     
    126141<div class="wrap">
    127142
    128 <form id="adv-settings" action="" method="get">
    129 <div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Advanced Options') ?></a>
    130 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Options') ?></a></div>
    131 
    132 <div id="edit-settings" class="hide-if-js hide-if-no-js">
    133 <div id="edit-settings-wrap">
    134 <h5><?php _e('Show on screen') ?></h5>
    135 <div class="metabox-prefs">
    136 <?php manage_columns_prefs('category') ?>
    137 <br class="clear" />
    138 </div></div>
    139 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?>
    140 </div></form>
    141 
    142143    <h2><?php printf( current_user_can('manage_categories') ? __('Categories (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addcat' ); ?></h2>
    143 
    144 <br class="clear" />
    145144
    146145<form id="posts-filter" action="" method="get">
Note: See TracChangeset for help on using the changeset viewer.