Make WordPress Core

Changeset 1494


Ignore:
Timestamp:
07/28/2004 07:18:59 AM (22 years ago)
Author:
saxmatt
Message:

Menu re-org

Location:
trunk/wp-admin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/categories.php

    r1483 r1494  
    9292    $cat_name = $category->cat_name;
    9393    ?>
    94 
     94<ul id="adminmenu2">
     95  <li><a href="edit.php"><?php _e('Posts') ?></a></li>
     96  <li><a href="categories.php" class="current"><?php _e('Categories') ?></a></li>
     97  <li><a href="edit-comments.php"><?php _e('Comments') ?></a></li>
     98  <li class="last"><a href="moderation.php"><?php _e('Awaiting Moderation') ?></a></li>
     99</ul>
    95100<div class="wrap">
    96101    <h2><?php _e('Edit Category') ?></h2>
     
    147152$messages[3] = __('Category updated.');
    148153?>
     154<ul id="adminmenu2">
     155    <li><a href="edit.php"><?php _e('Posts') ?></a></li>
     156    <li><a class="current"><?php _e('Categories') ?></a></li>
     157    <li><a href="edit-comments.php"><?php _e('Comments') ?></a></li>
     158    <li><a href="moderation.php"><?php _e('Awaiting Moderation') ?></a></li>
     159</ul>
    149160<?php if (isset($_GET['message'])) : ?>
    150161<div class="updated"><p><?php echo $messages[$_GET['message']]; ?></p></div>
  • trunk/wp-admin/edit-comments.php

    r1472 r1494  
    1010<ul id="adminmenu2">
    1111    <li><a href="edit.php"><?php _e('Posts') ?></a></li>
    12     <li><a href="edit-comments.php" class="current"><?php _e('Comments') ?></a></li>
    13     <li><a href="moderation.php"><?php _e('Awaiting Moderation') ?></a></li>
     12    <li><a href="categories.php"><?php _e('Categories') ?></a></li>
     13    <li><a href="edit-comments.php" class="current"><?php _e('Comments') ?></a></li>
     14    <li><a href="moderation.php"><?php _e('Awaiting Moderation') ?></a></li>
    1415</ul>
    1516<script type="text/javascript">
  • trunk/wp-admin/edit.php

    r1454 r1494  
    88 <ul id="adminmenu2">
    99  <li><a href="edit.php" class="current"><?php _e('Posts') ?></a></li>
     10  <li><a href="categories.php"><?php _e('Categories') ?></a></li>
    1011  <li><a href="edit-comments.php"><?php _e('Comments') ?></a></li>
    11   <li class="last"><a href="moderation.php"><?php _e('Awaiting Moderation') ?></a></li>
     12  <li><a href="moderation.php"><?php _e('Awaiting Moderation') ?></a></li>
    1213</ul>
    1314<?php
     
    8586    <th scope="col"><?php _e('Comments') ?></th>
    8687    <th scope="col"><?php _e('Author') ?></th>
    87     <th scope="col"><?php _e('Edit') ?></th>
    88     <th scope="col"><?php _e('Delete') ?></th>
     88    <th scope="col"></th>
     89    <th scope="col"></th>
     90    <th scope="col"></th>
    8991  </tr>
    9092<?php
     
    100102    <th scope="row"><?php echo $id ?></th>
    101103    <td><?php the_time('Y-m-d \<\b\r \/\> g:i:s a'); ?></td>
    102     <td><a href="<?php the_permalink(); ?>" rel="permalink">
     104    <td>
    103105      <?php the_title() ?>
    104       </a>
    105106    <?php if ('private' == $post->post_status) _e(' - <strong>Private</strong>'); ?></td>
    106107    <td><?php the_category(','); ?></td>
    107108    <td><a href="edit.php?p=<?php echo $id ?>&amp;c=1">
    108       <?php comments_number(__('no comments'), __('1 comment'), __("% comments")) ?>
     109      <?php comments_number(__('0'), __('1'), __('%')) ?>
    109110      </a></td>
    110111    <td><?php the_author() ?></td>
     112    <td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit">View</a></td>
    111113    <td><?php if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "<a href='post.php?action=edit&amp;post=$id' class='edit'>" . __('Edit') . "</a>"; } ?></td>
    112114    <td><?php if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "<a href='post.php?action=delete&amp;post=$id' class='delete' onclick=\"return confirm('" . sprintf(__("You are about to delete this post \'%s\'\\n  \'OK\' to delete, \'Cancel\' to stop."), the_title('','',0)) . "')\">" . __('Delete') . "</a>"; } ?></td>
  • trunk/wp-admin/menu.php

    r1470 r1494  
    77// The minimum level the user needs to access the item: between 0 and 10
    88// The URL of the item's file
     9$menu[0] = array(__('Dashboard'), 0, 'index.php');
    910$menu[5] = array(__('Write'), 1, 'post.php');
    10 $menu[10] = array(__('Edit'), 1, 'edit.php');
    11 $menu[15] = array(__('Categories'), 3, 'categories.php');
     11$menu[10] = array(__('Manage'), 1, 'edit.php');
    1212$menu[20] = array(__('Links'), 5, 'link-manager.php');
    1313$menu[25] = array(__('Users'), 3, 'users.php');
  • trunk/wp-admin/moderation.php

    r1429 r1494  
    9999?>
    100100<ul id="adminmenu2">
    101        <li><a href="edit.php"> <?php _e('Posts') ?></a></li>
    102         <li><a href="edit-comments.php"> <?php _e('Comments') ?></a></li>
    103     <li class="last"><a href="moderation.php" class="current"><?php _e('Awaiting Moderation') ?></a></li>
     101    <li><a href="edit.php"> <?php _e('Posts') ?></a></li>
     102    <li><a href="categories.php"><?php _e('Categories') ?></a></li>
     103    <li><a href="edit-comments.php"> <?php _e('Comments') ?></a></li>
     104    <li><a href="moderation.php" class="current"><?php _e('Awaiting Moderation') ?></a></li>
    104105</ul>
    105106<?php
Note: See TracChangeset for help on using the changeset viewer.