Move notices below h2

git-svn-id: http://svn.automattic.com/wordpress/trunk@9528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-05 19:17:22 +00:00
parent dad2d3b6f1
commit 7663bd0168
2 changed files with 9 additions and 10 deletions

View File

@ -474,19 +474,18 @@ endif;
<?php screen_options('post', 1) ?>
<?php if ( $notice ) : ?>
<div id="notice" class="error"><p><?php echo $notice ?></p></div>
<?php endif; ?>
<?php if (isset($_GET['message'])) : ?>
<div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
<?php endif; ?>
<?php if ( (isset($mode) && 'bookmarklet' == $mode) || isset($_GET['popupurl']) ): ?>
<input type="hidden" name="mode" value="bookmarklet" />
<?php endif; ?>
<div class="wrap">
<h2><?php echo wp_specialchars( $title ); ?></h2>
<?php if ( $notice ) : ?>
<div id="notice" class="error"><p><?php echo $notice ?></p></div>
<?php endif; ?>
<?php if (isset($_GET['message'])) : ?>
<div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
<?php endif; ?>
<form name="post" action="post.php" method="post" id="post">
<?php

View File

@ -102,6 +102,9 @@ require_once('admin-header.php'); ?>
<?php screen_options('page') ?>
<div class="wrap">
<h2><?php echo wp_specialchars( $title ); ?></h2>
<?php if ( isset($_GET['locked']) || isset($_GET['skipped']) || isset($_GET['updated']) ) { ?>
<div id="message" class="updated fade"><p>
<?php if ( (int) $_GET['updated'] ) {
@ -126,9 +129,6 @@ if ( (int) $_GET['locked'] ) {
<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
endif; ?>
<div class="wrap">
<h2><?php echo wp_specialchars( $title ); ?></h2>
<form id="posts-filter" action="" method="get">
<ul class="subsubsub">
<?php