Post preview, now with extra spiff, from Mark Jaquith. fixes #1701

git-svn-id: https://develop.svn.wordpress.org/trunk@2906 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-09-23 00:44:26 +00:00
parent 861c7128b2
commit 72133b0358
3 changed files with 19 additions and 10 deletions

View File

@@ -10,7 +10,9 @@ $messages[3] = __('Custom field deleted.');
<form name="post" action="post.php" method="post" id="post">
<div class="wrap">
<h2><?php _e('Write Post'); ?></h2>
<a id="write-post"></a>
<h2><?php _e('Write Post'); ?><?php if ( 0 != $post_ID ) : ?>
<small class="quickjump"><a href="#preview-post"><?php _e('preview &darr;'); ?></a></small><?php endif; ?></h2>
<?php
if (0 == $post_ID) {