WordPress.org

Make WordPress Core

Changeset 9040


Ignore:
Timestamp:
09/30/2008 08:49:40 PM (13 years ago)
Author:
ryan
Message:

Tools menu

Location:
trunk/wp-admin
Files:
2 edited

Legend:

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

    r9028 r9040  
    151151<?php } ?>
    152152
    153 <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>
    154 
     153<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>
    155154<?php
    156155require(ABSPATH . 'wp-admin/menu-header.php');
  • trunk/wp-admin/menu.php

    r9038 r9040  
    6262    $submenu['options-general.php'][45] = array(__('Miscellaneous'), 'manage_options', 'options-misc.php');
    6363    $submenu['options-general.php'][50] = array( __('Users'), 'edit_users', 'users.php' );
    64     $submenu['options-general.php'][55] = array( __('Import'), 'import', 'import.php' );
    65     $submenu['options-general.php'][60] = array( __('Export'), 'import', 'export.php' );
    6664
    67 $menu[40] = array( __('Plugins'), 'activate_plugins', 'plugins.php' );
     65$menu[40] = array(__('Tools'), 'manage_options', 'import.php');
     66    $submenu['import.php'][5] = array( __('Import'), 'import', 'import.php' );
     67    $submenu['import.php'][10] = array( __('Export'), 'import', 'export.php' );
     68    $submenu['import.php'][15] = array( __('Press This'), 'publish_posts', get_shortcut_link() );
     69    $submenu['import.php'][20] = array( __('Turbo'), 'read', '#\' onclick=\'wpGears.message(1);return false;' );
     70
     71$menu[45] = array( __('Plugins'), 'activate_plugins', 'plugins.php' );
    6872    $submenu['plugins.php'][5]  = array( __('Manage'), 'activate_plugins', 'plugins.php' );
    6973    $submenu['plugins.php'][10] = array( __('Editor'), 'edit_plugins', 'plugin-editor.php' );
    7074    $submenu['plugins.php'][15] = array(__('Browse'), 'install_plugins', 'plugin-install.php');
    7175
    72 $menu[45] = array( __('Help'), 'read', 'dummy.php' );
     76$menu[50] = array( __('Help'), 'read', 'dummy.php' );
    7377    $submenu['dummy.php'][5]  = array( __('Documentation'), 'read', __('http://codex.wordpress.org/') );
    7478    $submenu['dummy.php'][10]  = array( __('Forums'), 'read', __('http://wordpress.org/support/') );
Note: See TracChangeset for help on using the changeset viewer.