Put the preview anchors on the h2. Props: markjaquith fixes #1765

git-svn-id: https://develop.svn.wordpress.org/trunk@2973 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-10-29 01:52:56 +00:00
parent 6eacdcf924
commit 7ffc6d0838
3 changed files with 4 additions and 5 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
<div class="wrap">
<h2><?php _e('Write Page'); ?></h2>
<h2 id="write-post"><?php _e('Write Page'); ?><?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) {
$form_action = 'post';