Changeset 5707 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 06/14/2007 04:24:28 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-form-advanced.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r5587 r5707 102 102 <fieldset id="poststatusdiv" class="dbx-box"> 103 103 <h3 class="dbx-handle"><?php _e('Post Status') ?></h3> 104 <div class="dbx-content"><?php if ( current_user_can('publish_posts') ) : ?> 105 <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> 106 <?php endif; ?> 104 <div class="dbx-content"> 105 <?php if ( current_user_can('publish_posts') ) : ?> 106 <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> 107 <?php endif; ?> 108 <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> 107 109 <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> 108 110 <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></div> … … 168 170 <?php if ( current_user_can('publish_posts') ) : ?> 169 171 <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" /> 172 <?php else : ?> 173 <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" /> 170 174 <?php endif; ?> 171 175 <?php
Note: See TracChangeset
for help on using the changeset viewer.