Changeset 9047
- Timestamp:
- 10/01/2008 09:04:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r9043 r9047 26 26 27 27 $menu[5] = array( __('Posts'), 'edit_posts', 'post-new.php', 'wp-menu-open' ); 28 $submenu['post-new.php'][5] = array( __(' Write'), 'edit_posts', 'post-new.php' );29 $submenu['post-new.php'][10] = array( __('Drafts'), 'edit_posts', 'edit-post-drafts.php' );30 $submenu['post-new.php'][15] = array( __(' View All'), 'edit_posts', 'edit.php' );28 $submenu['post-new.php'][5] = array( __('Add New'), 'edit_posts', 'post-new.php' ); 29 //$submenu['post-new.php'][10] = array( __('Drafts'), 'edit_posts', 'edit-post-drafts.php' ); 30 $submenu['post-new.php'][15] = array( __('Edit'), 'edit_posts', 'edit.php' ); 31 31 $submenu['post-new.php'][20] = array( __('Tags'), 'manage_categories', 'edit-tags.php' ); 32 32 $submenu['post-new.php'][25] = array( __('Categories'), 'manage_categories', 'categories.php' ); 33 33 34 34 $menu[10] = array( __('Media'), 'upload_files', 'media-new.php' ); 35 $submenu['media-new.php'][5] = array( __(' Upload New'), 'upload_files', 'media-new.php');36 $submenu['media-new.php'][10] = array( __(' View All'), 'upload_files', 'upload.php');35 $submenu['media-new.php'][5] = array( __('Add New'), 'upload_files', 'media-new.php'); 36 $submenu['media-new.php'][10] = array( __('Edit'), 'upload_files', 'upload.php'); 37 37 38 38 $menu[15] = array( __('Links'), 'manage_links', 'link-add.php' ); 39 39 $submenu['link-add.php'][5] = array( __('Add New'), 'manage_links', 'link-add.php' ); 40 $submenu['link-add.php'][10] = array( __(' View All'), 'manage_links', 'link-manager.php' );40 $submenu['link-add.php'][10] = array( __('Edit'), 'manage_links', 'link-manager.php' ); 41 41 $submenu['link-add.php'][15] = array( __('Link Categories'), 'manage_categories', 'edit-link-categories.php' ); 42 42 43 43 $menu[20] = array( __('Pages'), 'edit_pages', 'page-new.php' ); 44 $submenu['page-new.php'][5] = array( __(' Write'), 'edit_pages', 'page-new.php' );45 $submenu['page-new.php'][10] = array( __('Drafts'), 'edit_pages', 'edit-page-drafts.php' );46 $submenu['page-new.php'][15] = array( __(' View All'), 'edit_pages', 'edit-pages.php' );44 $submenu['page-new.php'][5] = array( __('Add New'), 'edit_pages', 'page-new.php' ); 45 //$submenu['page-new.php'][10] = array( __('Drafts'), 'edit_pages', 'edit-page-drafts.php' ); 46 $submenu['page-new.php'][15] = array( __('Edit'), 'edit_pages', 'edit-pages.php' ); 47 47 48 48 $menu[25] = array( __('Comments'), 'edit_posts', 'edit-comments.php' ); 49 $submenu['edit-comments.php'][15] = array( __('Moderate'), 'edit_posts', 'edit-comments.php' ); 49 50 50 51 $menu[30] = array( __('Appearance'), 'switch_themes', 'themes.php' ); … … 71 72 72 73 $menu[45] = array( __('Plugins'), 'activate_plugins', 'plugins.php' ); 73 $submenu['plugins.php'][5] = array( __('Manage'), 'activate_plugins', 'plugins.php' ); 74 $submenu['plugins.php'][15] = array(__('Add New'), 'install_plugins', 'plugin-install.php'); 75 $submenu['plugins.php'][5] = array( __('Installed'), 'activate_plugins', 'plugins.php' ); 74 76 $submenu['plugins.php'][10] = array( __('Editor'), 'edit_plugins', 'plugin-editor.php' ); 75 $submenu['plugins.php'][15] = array(__('Browse'), 'install_plugins', 'plugin-install.php');77 76 78 77 79 $menu[50] = array( __('Help'), 'read', 'dummy.php' );
Note: See TracChangeset
for help on using the changeset viewer.