Tools menu

git-svn-id: https://develop.svn.wordpress.org/trunk@9040 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-09-30 20:49:40 +00:00
parent 9ba606f9ff
commit cfbb4437e2
2 changed files with 9 additions and 6 deletions

View File

@ -150,8 +150,7 @@ if ( ! $is_opera ) {
</div>
<?php } ?>
<div id="user_info"><p><?php printf(__('Howdy, <a href="%1$s">%2$s</a>!'), 'profile.php', $user_identity) ?> | <a href="<?php echo wp_logout_url() ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a> <?php if ( ! $is_opera ) { ?> | <span id="gears-menu"><a href="#" onclick="wpGears.message(1);return false;"><?php _e('Turbo') ?></a></span><?php } ?></p></div>
<div id="user_info"><p><?php printf(__('Howdy, <a href="%1$s">%2$s</a>!'), 'profile.php', $user_identity) ?> <a href="<?php echo wp_logout_url() ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a></p></div>
<?php
require(ABSPATH . 'wp-admin/menu-header.php');
?>

View File

@ -61,15 +61,19 @@ $menu[35] = array(__('Settings'), 'manage_options', 'options-general.php');
$submenu['options-general.php'][40] = array(__('Permalinks'), 'manage_options', 'options-permalink.php');
$submenu['options-general.php'][45] = array(__('Miscellaneous'), 'manage_options', 'options-misc.php');
$submenu['options-general.php'][50] = array( __('Users'), 'edit_users', 'users.php' );
$submenu['options-general.php'][55] = array( __('Import'), 'import', 'import.php' );
$submenu['options-general.php'][60] = array( __('Export'), 'import', 'export.php' );
$menu[40] = array( __('Plugins'), 'activate_plugins', 'plugins.php' );
$menu[40] = array(__('Tools'), 'manage_options', 'import.php');
$submenu['import.php'][5] = array( __('Import'), 'import', 'import.php' );
$submenu['import.php'][10] = array( __('Export'), 'import', 'export.php' );
$submenu['import.php'][15] = array( __('Press This'), 'publish_posts', get_shortcut_link() );
$submenu['import.php'][20] = array( __('Turbo'), 'read', '#\' onclick=\'wpGears.message(1);return false;' );
$menu[45] = array( __('Plugins'), 'activate_plugins', 'plugins.php' );
$submenu['plugins.php'][5] = array( __('Manage'), 'activate_plugins', 'plugins.php' );
$submenu['plugins.php'][10] = array( __('Editor'), 'edit_plugins', 'plugin-editor.php' );
$submenu['plugins.php'][15] = array(__('Browse'), 'install_plugins', 'plugin-install.php');
$menu[45] = array( __('Help'), 'read', 'dummy.php' );
$menu[50] = array( __('Help'), 'read', 'dummy.php' );
$submenu['dummy.php'][5] = array( __('Documentation'), 'read', __('http://codex.wordpress.org/') );
$submenu['dummy.php'][10] = array( __('Forums'), 'read', __('http://wordpress.org/support/') );
$submenu['dummy.php'][15] = array( __('Feedback'), 'read', __('http://wordpress.org/support/forum/4') );