Make WordPress Core

Changeset 6949


Ignore:
Timestamp:
02/20/2008 11:43:06 PM (18 years ago)
Author:
ryan
Message:

Add Related section to all write/edit pages

Location:
trunk/wp-admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r6948 r6949  
    176176</p>
    177177
     178<div class="inside">
     179<p><strong><?php _e('Related') ?></strong></p>
     180
     181<ul>
    178182<?php if ($post_ID): ?>
    179 <div class="inside">
    180 <p><strong><?php _e('Related') ?></strong></p>
    181 
    182 <ul>
    183183<li><a href="edit.php?p=<?php echo $post_ID ?>"><?php _e('See Comments on this Post') ?></a></li>
     184<?php endif; ?>
    184185<li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
    185186<li><a href="edit.php"><?php _e('Manage All Posts') ?></a></li>
     187<li><a href="categories.php"><?php _e('Manage All Categories') ?></a></li>
     188<li><a href="edit-tags.php"><?php _e('Manage All Tags') ?></a></li>
    186189</ul>
    187190</div>
    188 <?php endif; ?>
    189191<?php do_action('submitpost_box'); ?>
    190192</div>
  • trunk/wp-admin/edit-form-comment.php

    r6948 r6949  
    8484?>
    8585</p>
     86
     87<div class="inside">
     88<p><strong><?php _e('Related') ?></strong></p>
     89
     90<ul>
     91<li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
     92<li><a href="moderation.php"><?php _e('Moderate Comments') ?></a></li>
     93</ul>
     94</div>
    8695<?php do_action('submitcomment_box'); ?>
    8796</div>
  • trunk/wp-admin/edit-link-form.php

    r6948 r6949  
    7676<input type="submit" name="save" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" />
    7777</p>
     78
     79<div class="inside">
     80<p><strong><?php _e('Related') ?></strong></p>
     81
     82<ul>
     83<li><a href="link-manager.php"><?php _e('Manage All Links') ?></a></li>
     84<li><a href="edit-link-categories.php"><?php _e('Manage All Categories') ?></a></li>
     85<li><a href="link-import.php"><?php _e('Import Links') ?></a></li>
     86</ul>
     87</div>
    7888<?php do_action('submitlink_box'); ?>
    7989</div>
  • trunk/wp-admin/edit-page-form.php

    r6948 r6949  
    141141</p>
    142142
     143<div class="inside">
     144<p><strong><?php _e('Related') ?></strong></p>
     145
     146<ul>
    143147<?php if ($post_ID): ?>
    144 <div class="inside">
    145 <p><strong><?php _e('Related') ?></strong></p>
    146 
    147 <ul>
    148148<li><a href="edit-pages.php?p=<?php echo $post_ID ?>"><?php _e('See Comments on this Page') ?></a></li>
     149<?php endif; ?>
    149150<li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
    150151<li><a href="edit-pages.php"><?php _e('Manage All Pages') ?></a></li>
    151152</ul>
    152153</div>
    153 <?php endif; ?>
    154 
    155154<?php do_action('submitpage_box'); ?>
    156155</div>
Note: See TracChangeset for help on using the changeset viewer.