WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-page-form.php

    r5057 r5159  
    9999<?php if ( $authors = get_editable_authors( $current_user->id ) ) : // TODO: ROLE SYSTEM ?>
    100100<fieldset id="authordiv" class="dbx-box">
    101 <h3 class="dbx-handle"><?php _e('Page Author'); ?>:</h3>
     101<h3 class="dbx-handle"><?php _e('Page Author'); ?></h3>
    102102<div class="dbx-content">
    103103<select name="post_author_override" id="post_author_override">
     
    132132
    133133<fieldset id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>">
    134     <legend><?php _e('Page Content') ?></legend>
     134<legend><?php _e('Page Content') ?>
     135
     136<?php if ( 'publish' == $post->post_status ) { ?>
     137<a href="<?php echo clean_url(get_permalink($post->ID)); ?>" style="position: absolute; right: 2em; margin-right: 19em; text-decoration: underline;" target="_blank"><?php _e('View &raquo;'); ?></a>
     138<?php } elseif ( 'edit' == $action ) { ?>
     139<a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" style="position: absolute; right: 2em; margin-right: 19em; text-decoration: underline;" target="_blank"><?php _e('Preview &raquo;'); ?></a>
     140<?php } ?>
     141</legend>
    135142    <?php the_editor($post->post_content); ?>
    136143</fieldset>
Note: See TracChangeset for help on using the changeset viewer.