Changeset 6605 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 01/14/2008 01:14:57 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-form-advanced.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r6597 r6605 82 82 <?php echo $form_prevstatus ?> 83 83 84 <p class="submit"> 84 <div id="submitpost"> 85 86 <div id="previewview"> 85 87 <?php if ( 'publish' == $post->post_status ) { ?> 86 88 <a href="<?php echo clean_url(get_permalink($post->ID)); ?>" class="view-link" target="_blank"><?php _e('View »'); ?></a> … … 88 90 <a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" class="view-link" target="_blank"><?php _e('Preview »'); ?></a> 89 91 <?php } ?> 90 <span id="autosave"></span> 91 <?php echo $saveasdraft; ?> 92 </div> 93 94 <div class="inside"> 95 96 97 <p> 98 <?php if ( current_user_can('publish_posts') ) : ?> 99 <label for="post_status_publish" class="selectit"><input id="post_status_publish" name="post_status" type="radio" value="publish" <?php checked($post->post_status, 'publish'); checked($post->post_status, 'future'); ?> /> <?php _e('Published') ?></label> 100 <?php endif; ?> 101 <label for="post_status_pending" class="selectit"><input id="post_status_pending" name="post_status" type="radio" value="pending" <?php checked($post->post_status, 'pending'); ?> /> <?php _e('Pending Review') ?></label> 102 <label for="post_status_draft" class="selectit"><input id="post_status_draft" name="post_status" type="radio" value="draft" <?php checked($post->post_status, 'draft'); ?> /> <?php _e('Draft') ?></label> 103 </p> 104 105 <p><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> /> <?php _e('Keep this post private') ?></label></p> 106 </div> 107 108 <p class="submit"> 92 109 <input type="submit" name="submit" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" /> 93 110 <?php … … 102 119 } 103 120 ?> 121 </p> 122 123 </div> 124 125 <p class="submit"> 126 127 <span id="autosave"></span> 128 129 104 130 <input name="referredby" type="hidden" id="referredby" value="<?php 105 131 if ( !empty($_REQUEST['popupurl']) ) … … 230 256 </div> 231 257 232 <div id="poststatusdiv" class="postbox <?php echo postbox_classes('poststatusdiv'); ?>">233 <h3><?php _e('Post Status') ?></h3>234 <div class="inside">235 <?php if ( current_user_can('publish_posts') ) : ?>236 <label for="post_status_publish" class="selectit"><input id="post_status_publish" name="post_status" type="radio" value="publish" <?php checked($post->post_status, 'publish'); checked($post->post_status, 'future'); ?> /> <?php _e('Published') ?></label>237 <?php endif; ?>238 <label for="post_status_pending" class="selectit"><input id="post_status_pending" name="post_status" type="radio" value="pending" <?php checked($post->post_status, 'pending'); ?> /> <?php _e('Pending Review') ?></label>239 <label for="post_status_draft" class="selectit"><input id="post_status_draft" name="post_status" type="radio" value="draft" <?php checked($post->post_status, 'draft'); ?> /> <?php _e('Draft') ?></label>240 <label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="radio" value="private" <?php checked($post->post_status, 'private'); ?> /> <?php _e('Private') ?></label>241 </div>242 </div>243 244 258 <?php if ( current_user_can('edit_posts') ) : ?> 245 259 <div id="posttimestampdiv" class="postbox <?php echo postbox_classes('posttimestampdiv'); ?>">
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)