Changeset 5159
- Timestamp:
- 03/31/2007 10:02:19 PM (18 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 4 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); ?> -
trunk/wp-admin/edit-page-form.php
r5056 r5159 132 132 133 133 <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 »'); ?></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 »'); ?></a> 140 <?php } ?> 141 </legend> 135 142 <?php the_editor($post->post_content); ?> 136 143 </fieldset> -
trunk/wp-admin/page.php
r5056 r5159 62 62 63 63 include('edit-page-form.php'); 64 ?>65 <div id='preview' class='wrap'>66 <h2 id="preview-post"><?php _e('Page Preview (updated when page is saved)'); ?></h2>67 <iframe src="<?php echo clean_url(apply_filters('preview_page_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" width="100%" height="600" ></iframe>68 </div>69 <?php70 64 break; 71 65 -
trunk/wp-admin/post.php
r5056 r5159 67 67 include('edit-form-advanced.php'); 68 68 69 ?>70 <div id='preview' class='wrap'>71 <h2 id="preview-post"><?php _e('Post Preview (updated when post is saved)'); ?></h2>72 <iframe src="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" width="100%" height="600" ></iframe>73 </div>74 <?php75 69 break; 76 70
Note: See TracChangeset
for help on using the changeset viewer.