Show message on publish rather than sitting dumbly. Link to site like we do for posts

git-svn-id: https://develop.svn.wordpress.org/trunk@3726 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2006-04-19 09:13:47 +00:00
parent 855d8df3c8
commit 858a5db03f
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ $editing = true;
require_once('admin-header.php');
?>
<?php if ( isset($_GET['saved']) ) : ?>
<div id="message" class="updated fade"><p><strong><?php _e('Page saved.') ?> <a href="edit-pages.php"><?php _e('Manage pages &raquo;'); ?></a></strong></p></div>
<?php if ( isset($_GET['saved']) || isset($_GET['posted']) ) : ?>
<div id="message" class="updated fade"><p><strong><?php _e('Page saved.') ?> <a href="edit-pages.php"><?php _e('Manage pages'); ?></a> | <a href="<?php echo get_bloginfo('home') . '/'; ?>"><?php _e('View site') ; ?> &raquo;</a></strong></p></div>
<?php endif; ?>
<?php