Move notices below h2

git-svn-id: http://svn.automattic.com/wordpress/trunk@9531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-05 19:51:07 +00:00
parent 3cc3141781
commit 883462a60b
2 changed files with 6 additions and 6 deletions

View File

@ -133,15 +133,15 @@ $messages[5] = __('Category not updated.');
<?php screen_options('category') ?>
<div class="wrap nosubsub">
<h2><?php echo wp_specialchars( $title ); ?></h2>
<?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']);
endif; ?>
<div class="wrap nosubsub">
<h2><?php echo wp_specialchars( $title ); ?></h2>
<form class="search-form topmargin" action="" method="get">
<p class="search-box">
<label class="hidden" for="category-search-input"><?php _e('Search Categories'); ?>:</label>

View File

@ -131,14 +131,14 @@ $messages[6] = __('Tags deleted.'); ?>
<?php screen_options('tag') ?>
<div class="wrap nosubsub">
<h2><?php echo wp_specialchars( $title ); ?></h2>
<?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']);
endif; ?>
<div class="wrap nosubsub">
<h2><?php echo wp_specialchars( $title ); ?></h2>
<form class="search-form" action="" method="get">
<p class="search-box">
<label class="hidden" for="tag-search-input"><?php _e( 'Search Tags' ); ?>:</label>