Changeset 5159 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 03/31/2007 10:02:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r5110 r5159 145 145 146 146 <fieldset id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>"> 147 <legend><?php _e('Post') ?></legend> 147 <legend><?php _e('Post') ?> 148 149 <?php if ( 'publish' == $post->post_status ) { ?> 150 <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 »'); ?></a> 151 <?php } elseif ( 'edit' == $action ) { ?> 152 <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 »'); ?></a> 153 <?php } ?> 154 </legend> 148 155 149 156 <?php the_editor($post->post_content); ?>
Note: See TracChangeset
for help on using the changeset viewer.