Ticket #7799: menu.diff
| File menu.diff, 1.5 KB (added by , 18 years ago) |
|---|
-
home/john/Tmp/trunk/wp-admin/menu.php
30 30 31 31 $top_menu[5] = array( __('My Account'), 'read', 'profile.php' ); 32 32 $top_menu[10] = array( __('My Dashboard'), 'read', 'index.php' ); 33 $top_menu[15] = array( __('New Post'), 'edit_posts', 'post-new.php', 'highlighted' );33 //$top_menu[15] = array( __('New Post'), 'edit_posts', 'post-new.php', 'highlighted' ); 34 34 //$top_menu[20] = array( sprintf( __('Inbox (%s)'), "<span id='inbox-num' class='count-$inbox_num'><span class='inbox-count'>" . number_format_i18n($inbox_num) . "</span></span>" ), 'edit_posts', 'inbox.php' ); 35 $top_menu[20] = array( sprintf( __('Comments (%s)'), "<span id='awaiting-mod' class='count-$awaiting_mod'><span class='comment-count'>" . number_format_i18n($awaiting_mod) . "</span></span>" ), 'edit_posts', 'edit-comments.php'); 36 $top_menu[25] = array( __('Help'), 'read', 'index.php?help' ); // place holder 35 //$top_menu[20] = array( sprintf( __('Comments (%s)'), "<span id='awaiting-mod' class='count-$awaiting_mod'><span class='comment-count'>" . number_format_i18n($awaiting_mod) . "</span></span>" ), 'edit_posts', 'edit-comments.php'); 36 //$top_menu[25] = array( __('Help'), 'read', 'index.php?help' ); // place holder 37 $top_menu[30] = array( __('Visit Site'), 'read', get_settings('home'), 'highlighted' ); 37 38 38 39 $top_submenu['profile.php'][5] = array( __('Profile'), 'read', 'profile.php' ); 39 40
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)