Move notices below h2

git-svn-id: https://develop.svn.wordpress.org/trunk@9531 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-05 19:51:07 +00:00
parent 90a213b339
commit d9ca3f7dbb
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>