Remove dead markup
git-svn-id: https://develop.svn.wordpress.org/trunk@9168 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c2f12f7ab9
commit
8e8a738f64
@ -533,25 +533,6 @@ else
|
||||
|
||||
<div id="poststuff" class="metabox-holder">
|
||||
|
||||
<div id="side-info" style="display: none;"><?php // TODO ?>
|
||||
|
||||
<h5><?php _e('Related') ?></h5>
|
||||
<ul>
|
||||
<?php if ($post_ID): ?>
|
||||
<li><a href="edit.php?p=<?php echo $post_ID ?>"><?php _e('See Comments on this Post') ?></a></li>
|
||||
<?php endif; ?>
|
||||
<li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
|
||||
<li><a href="edit.php"><?php _e('Manage All Posts') ?></a></li>
|
||||
<li><a href="categories.php"><?php _e('Manage All Categories') ?></a></li>
|
||||
<li><a href="edit-tags.php"><?php _e('Manage All Tags') ?></a></li>
|
||||
<li><a href="edit.php?post_status=draft"><?php _e('View Drafts'); ?></a></li>
|
||||
<?php do_action('post_relatedlinks_list'); ?>
|
||||
</ul>
|
||||
|
||||
<h5><?php _e('Shortcuts') ?></h5>
|
||||
<p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?> <a href="<?php echo get_shortcut_link(); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
|
||||
</div>
|
||||
|
||||
<div id="side-info-column" class="inner-sidebar">
|
||||
|
||||
<?php do_action('submitpost_box'); ?>
|
||||
|
@ -383,40 +383,6 @@ if (isset($mode) && 'bookmarklet' == $mode)
|
||||
<input name="referredby" type="hidden" id="referredby" value="<?php echo clean_url(stripslashes(wp_get_referer())); ?>" />
|
||||
<?php if ( 'draft' != $post->post_status ) wp_original_referer_field(true, 'previous'); ?>
|
||||
|
||||
<!-- TODO
|
||||
<div class="inside">
|
||||
<p><strong><label for='post_status'><?php _e('Publish Status') ?></label></strong></p>
|
||||
<p>
|
||||
<select name='post_status' tabindex='4' id='post_status'>
|
||||
<?php // Show publish in dropdown if user can publish or if they can re-publish this page ('edit_published_pages')
|
||||
// 'publish' option will be selected for published AND private posts (checkbox overrides dropdown)
|
||||
if ( current_user_can('publish_pages') OR ( $post->post_status == 'publish' AND current_user_can('edit_page', $post->ID) ) ) :
|
||||
?>
|
||||
<option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='publish'><?php _e('Published') ?></option>
|
||||
<?php endif; ?>
|
||||
<?php if ( 'future' == $post->post_status ) : ?>
|
||||
<option<?php selected( $post->post_status, 'future' ); ?> value='future'><?php _e('Pending') ?></option>
|
||||
<?php endif; ?>
|
||||
<option<?php selected( $post->post_status, 'pending' ); ?> value='pending'><?php _e('Pending Review') ?></option>
|
||||
<option<?php selected( $post->post_status, 'draft' ); ?> value='draft'><?php _e('Unpublished') ?></option>
|
||||
</select>
|
||||
</p>
|
||||
<?php if ( current_user_can( 'publish_posts' ) ) : ?>
|
||||
<p><label for="post_status_private2" class="selectit"><input id="post_status_private2" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex='4' /> <?php _e('Keep this page private') ?></label></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<h5><?php _e('Related') ?></h5>
|
||||
<ul>
|
||||
<?php if ($post_ID): ?>
|
||||
<li><a href="edit-pages.php?page_id=<?php echo $post_ID ?>"><?php _e('See Comments on this Page') ?></a></li>
|
||||
<?php endif; ?>
|
||||
<li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
|
||||
<li><a href="edit-pages.php"><?php _e('Manage All Pages') ?></a></li>
|
||||
<?php do_action('page_relatedlinks_list'); ?>
|
||||
</ul>
|
||||
|
||||
-->
|
||||
|
||||
<div id="poststuff" class="metabox-holder">
|
||||
|
||||
<div id="side-info-column" class="inner-sidebar">
|
||||
|
Loading…
Reference in New Issue
Block a user