Move and adjust "Page Options" box
git-svn-id: http://svn.automattic.com/wordpress/trunk@9016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -117,7 +117,22 @@ $messages[2] = __('Category deleted.');
|
||||
$messages[3] = __('Category updated.');
|
||||
$messages[4] = __('Category not added.');
|
||||
$messages[5] = __('Category not updated.');
|
||||
?>
|
||||
|
||||
<div id="edit-settings">
|
||||
<a href="#edit_settings" id="show-settings-link" class="hide-if-no-js show-settings"><?php _e('Page Options') ?></a>
|
||||
<div id="edit-settings-wrap" class="hidden">
|
||||
<a href="#edit_settings" id="hide-settings-link" class="show-settings"><?php _e('Hide Options') ?></a>
|
||||
<h5><?php _e('Show on screen') ?></h5>
|
||||
<form id="adv-settings" action="" method="get">
|
||||
<div class="metabox-prefs">
|
||||
<?php manage_columns_prefs('category') ?>
|
||||
<?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?>
|
||||
<br class="clear" />
|
||||
</div></form>
|
||||
</div></div>
|
||||
|
||||
<?php
|
||||
if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>
|
||||
<div id="message" class="updated fade"><p><?php echo $messages[$msg]; ?></p></div>
|
||||
<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
|
||||
@@ -125,24 +140,8 @@ endif; ?>
|
||||
|
||||
<div class="wrap">
|
||||
|
||||
<form id="adv-settings" action="" method="get">
|
||||
<div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Advanced Options') ?></a>
|
||||
<a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Options') ?></a></div>
|
||||
|
||||
<div id="edit-settings" class="hide-if-js hide-if-no-js">
|
||||
<div id="edit-settings-wrap">
|
||||
<h5><?php _e('Show on screen') ?></h5>
|
||||
<div class="metabox-prefs">
|
||||
<?php manage_columns_prefs('category') ?>
|
||||
<br class="clear" />
|
||||
</div></div>
|
||||
<?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?>
|
||||
</div></form>
|
||||
|
||||
<h2><?php printf( current_user_can('manage_categories') ? __('Categories (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addcat' ); ?></h2>
|
||||
|
||||
<br class="clear" />
|
||||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
<div class="tablenav">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user