Changeset 6605
- Timestamp:
- 01/14/2008 01:14:57 AM (18 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
edit-form-advanced.php (modified) (4 diffs)
-
wp-admin.css (modified) (1 diff)
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'); ?>"> -
trunk/wp-admin/wp-admin.css
r6597 r6605 1227 1227 } 1228 1228 1229 #submitpost { 1230 position: fixed; 1231 background-color: #eaf3fa; 1232 width: 250px; 1233 top: 225px; 1234 right: 25%; 1235 margin-right: -125px; 1236 } 1237 1238 #submitpost #previewview { 1239 background-color: #2683ae; 1240 } 1241 1242 #submitpost .submit { 1243 text-align: left; 1244 background-color: #464646; 1245 padding: 15px 10px; 1246 } 1247 1229 1248 /* Categories */ 1230 1249
Note: See TracChangeset
for help on using the changeset viewer.