Make WordPress Core


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

Move and adjust "Page Options" box

File:
1 edited

Legend:

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

    r8946 r9016  
    5555}
    5656
    57 ?>
    58 
    59 <form name="post" action="post.php" method="post" id="post">
    60 <?php
    61 
    6257// All meta boxes should be defined and added before the first do_meta_boxes() call (or potentially during the do_meta_boxes action).
    63 
    6458function post_submit_meta_box($post) {
    6559    global $action;
     
    408402?>
    409403
    410 <?php if ( $notice ) : ?>
    411 <div id="notice" class="error"><p><?php echo $notice ?></p></div>
    412 <?php endif; ?>
    413 <?php if (isset($_GET['message'])) : ?>
    414 <div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
    415 <?php endif; ?>
    416 
    417 <?php if ( (isset($mode) && 'bookmarklet' == $mode) || isset($_GET['popupurl']) ): ?>
    418 <input type="hidden" name="mode" value="bookmarklet" />
    419 <?php endif; ?>
    420 
    421 <div class="wrap">
    422 
    423 <div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Advanced Options') ?></a>
    424 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Options') ?></a></div>
    425 
    426 <div id="edit-settings" class="hide-if-js hide-if-no-js">
    427 <div id="edit-settings-wrap">
     404<div id="edit-settings">
     405<a href="#edit_settings" id="show-settings-link" class="hide-if-no-js show-settings"><?php _e('Page Options') ?></a>
     406<div id="edit-settings-wrap" class="hidden">
     407<a href="#edit_settings" id="hide-settings-link" class="show-settings"><?php _e('Hide Options') ?></a>
    428408<h5><?php _e('Show on screen') ?></h5>
     409<form id="adv-settings" action="" method="get">
    429410<div class="metabox-prefs">
    430411<?php meta_box_prefs('post') ?>
    431412<br class="clear" />
     413</div></form>
    432414</div></div>
    433 </div>
     415
     416<?php if ( $notice ) : ?>
     417<div id="notice" class="error"><p><?php echo $notice ?></p></div>
     418<?php endif; ?>
     419<?php if (isset($_GET['message'])) : ?>
     420<div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
     421<?php endif; ?>
     422
     423<?php if ( (isset($mode) && 'bookmarklet' == $mode) || isset($_GET['popupurl']) ): ?>
     424<input type="hidden" name="mode" value="bookmarklet" />
     425<?php endif; ?>
     426
     427<div class="wrap">
    434428
    435429<h2><?php
     
    440434?></h2>
    441435
     436<form name="post" action="post.php" method="post" id="post">
    442437<?php
    443438
     
    556551</div>
    557552</div><!-- /poststuff -->
    558 
    559 </div>
    560553</form>
     554</div>
    561555
    562556<?php wp_comment_reply(); ?>
Note: See TracChangeset for help on using the changeset viewer.