Move notices below h2
git-svn-id: http://svn.automattic.com/wordpress/trunk@9533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d35edc4a1a
commit
5bcf23e80d
|
@ -62,14 +62,14 @@ $messages[6] = __('Categories deleted.'); ?>
|
||||||
|
|
||||||
<?php screen_options('link-category') ?>
|
<?php screen_options('link-category') ?>
|
||||||
|
|
||||||
|
<div class="wrap nosubsub">
|
||||||
|
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
||||||
|
|
||||||
<?php if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>
|
<?php if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>
|
||||||
<div id="message" class="updated fade"><p><?php echo $messages[$msg]; ?></p></div>
|
<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']);
|
<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
|
||||||
endif; ?>
|
endif; ?>
|
||||||
|
|
||||||
<div class="wrap nosubsub">
|
|
||||||
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
|
||||||
|
|
||||||
<form class="search-form" action="" method="get">
|
<form class="search-form" action="" method="get">
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="hidden" for="category-search-input"><?php _e( 'Search Categories' ); ?>:</label>
|
<label class="hidden" for="category-search-input"><?php _e( 'Search Categories' ); ?>:</label>
|
||||||
|
|
|
@ -92,6 +92,9 @@ else
|
||||||
|
|
||||||
<?php screen_options('post') ?>
|
<?php screen_options('post') ?>
|
||||||
|
|
||||||
|
<div class="wrap">
|
||||||
|
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>
|
if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>
|
||||||
<div id="message" class="updated fade"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View post'); ?></a> | <a href="<?php echo get_edit_post_link( $_GET['posted'] ); ?>"><?php _e('Edit post'); ?></a></p></div>
|
<div id="message" class="updated fade"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View post'); ?></a> | <a href="<?php echo get_edit_post_link( $_GET['posted'] ); ?>"><?php _e('Edit post'); ?></a></p></div>
|
||||||
|
@ -115,9 +118,6 @@ if ( (int) $_GET['locked'] ) {
|
||||||
</p></div>
|
</p></div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<div class="wrap">
|
|
||||||
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
|
||||||
|
|
||||||
<form id="posts-filter" action="" method="get">
|
<form id="posts-filter" action="" method="get">
|
||||||
<ul class="subsubsub">
|
<ul class="subsubsub">
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -76,6 +76,9 @@ switch ($order_by) {
|
||||||
|
|
||||||
<?php screen_options('link') ?>
|
<?php screen_options('link') ?>
|
||||||
|
|
||||||
|
<div class="wrap nosubsub">
|
||||||
|
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ( isset($_GET['deleted']) ) {
|
if ( isset($_GET['deleted']) ) {
|
||||||
echo '<div id="message" class="updated fade"><p>';
|
echo '<div id="message" class="updated fade"><p>';
|
||||||
|
@ -86,9 +89,6 @@ if ( isset($_GET['deleted']) ) {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap nosubsub">
|
|
||||||
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
|
||||||
|
|
||||||
<form class="search-form" action="" method="get">
|
<form class="search-form" action="" method="get">
|
||||||
<p class="search-box">
|
<p class="search-box">
|
||||||
<label class="hidden" for="link-search-input"><?php _e( 'Search Links' ); ?>:</label>
|
<label class="hidden" for="link-search-input"><?php _e( 'Search Links' ); ?>:</label>
|
||||||
|
|
|
@ -163,12 +163,9 @@ $messages[1] = __('Media attachment updated.');
|
||||||
$messages[2] = __('Media deleted.');
|
$messages[2] = __('Media deleted.');
|
||||||
$messages[3] = __('Error saving media attachment.');
|
$messages[3] = __('Error saving media attachment.');
|
||||||
|
|
||||||
if ( isset($_GET['message']) && (int) $_GET['message'] )
|
if ( isset($_GET['message']) && (int) $_GET['message'] ) {
|
||||||
$message = $messages[$_GET['message']];
|
$message = $messages[$_GET['message']];
|
||||||
|
$_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
|
||||||
if ( isset($message) ) { ?>
|
|
||||||
<div id="message" class="updated fade"><p><?php echo $message; ?></p></div>
|
|
||||||
<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -177,6 +174,13 @@ if ( isset($message) ) { ?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if ( isset($message) ) { ?>
|
||||||
|
<div id="message" class="updated fade"><p><?php echo $message; ?></p></div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<ul class="subsubsub">
|
<ul class="subsubsub">
|
||||||
<?php
|
<?php
|
||||||
$type_links = array();
|
$type_links = array();
|
||||||
|
|
Loading…
Reference in New Issue