Changeset 2973

Show
Ignore:
Timestamp:
10/29/05 01:52:56 (3 years ago)
Author:
ryan
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/edit-form-advanced.php

    r2926 r2973  
    1111 
    1212<div class="wrap"> 
    13 <a id="write-post"></a> 
    14 <h2><?php _e('Write Post'); ?><?php if ( 0 != $post_ID ) : ?> 
     13<h2 id="write-post"><?php _e('Write Post'); ?><?php if ( 0 != $post_ID ) : ?> 
    1514 <small class="quickjump"><a href="#preview-post"><?php _e('preview &darr;'); ?></a></small><?php endif; ?></h2> 
    1615<?php 
  • trunk/wp-admin/edit-page-form.php

    r2951 r2973  
    11 
    22<div class="wrap"> 
    3 <h2><?php _e('Write Page'); ?></h2> 
     3<h2 id="write-post"><?php _e('Write Page'); ?><?php if ( 0 != $post_ID ) : ?> 
     4<small class="quickjump"><a href="#preview-post"><?php _e('preview &darr;'); ?></a></small><?php endif; ?></h2> 
    45<?php 
    56if (0 == $post_ID) { 
  • trunk/wp-admin/post.php

    r2906 r2973  
    7979    ?> 
    8080    <div id='preview' class='wrap'> 
    81     <a id="preview-post"></a> 
    82     <h2><?php _e('Post Preview (updated when post is saved)'); ?> <small class="quickjump"><a href="#write-post"><?php _e('edit &uarr;'); ?></a></small></h2> 
     81    <h2 id="preview-post"><?php _e('Post Preview (updated when post is saved)'); ?> <small class="quickjump"><a href="#write-post"><?php _e('edit &uarr;'); ?></a></small></h2> 
    8382        <iframe src="<?php the_permalink(); ?>" width="100%" height="600" /> 
    8483    </div>