Add Related section to edit page form

git-svn-id: https://develop.svn.wordpress.org/trunk@6927 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-02-20 03:16:47 +00:00
parent 9c732aa013
commit 24a91f74e9
1 changed files with 13 additions and 0 deletions

View File

@ -138,6 +138,19 @@ if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
<?php printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?>
<?php endif; ?>
</p>
<?php if ($post_ID): ?>
<div class="inside">
<p><strong><?php _e('Related') ?></strong></p>
<ul>
<li><a href="edit-pages.php?p=<?php echo $post_ID ?>"><?php _e('See Comments on this Page') ?></a></li>
<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>
</ul>
</div>
<?php endif; ?>
<?php do_action('submitpage_box'); ?>
</div>