mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Autosave notice styling from mdawaffe. fixes #6054
git-svn-id: https://develop.svn.wordpress.org/trunk@7145 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -148,10 +148,11 @@ if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_I
|
||||
if ( ( 'edit' == $action) && current_user_can('delete_post', $post_ID) )
|
||||
echo "<a href='" . wp_nonce_url("post.php?action=delete&post=$post_ID", 'delete-post_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete post') . "</a>";
|
||||
?>
|
||||
<br class="clear" />
|
||||
<?php if ($post_ID): ?>
|
||||
<br />
|
||||
<?php printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?>
|
||||
<?php endif; ?>
|
||||
<span id="autosave"></span>
|
||||
</p>
|
||||
|
||||
<div class="side-info">
|
||||
@@ -197,8 +198,6 @@ endif; ?>
|
||||
<?php echo $form_pingback ?>
|
||||
<?php echo $form_prevstatus ?>
|
||||
|
||||
<div id="autosave"></div>
|
||||
|
||||
<div id="tagsdiv" class="postbox <?php echo postbox_classes('tagsdiv', 'post'); ?>">
|
||||
<h3><?php _e('Tags'); ?></h3>
|
||||
<div class="inside">
|
||||
|
||||
Reference in New Issue
Block a user