3 * Multisite administration panel.
6 * @subpackage Multisite
10 /** Load WordPress Administration Bootstrap */
11 require_once( './admin.php' );
13 /** Load WordPress dashboard API */
14 require_once( ABSPATH . 'wp-admin/includes/dashboard.php' );
16 if ( !is_multisite() )
17 wp_die( __( 'Multisite support is not enabled.' ) );
19 if ( ! current_user_can( 'manage_network' ) )
20 wp_die( __( 'You do not have permission to access this page.' ) );
22 $title = __( 'Dashboard' );
23 $parent_file = 'index.php';
25 $overview = '<p>' . __( 'Welcome to your Network Admin. This area of the Administration Screens is used for managing all aspects of your Multisite Network.' ) . '</p>';
26 $overview .= '<p>' . __( 'From here you can:' ) . '</p>';
27 $overview .= '<ul><li>' . __( 'Add and manage sites or users' ) . '</li>';
28 $overview .= '<li>' . __( 'Install and activate themes or plugins' ) . '</li>';
29 $overview .= '<li>' . __( 'Update your network' ) . '</li>';
30 $overview .= '<li>' . __( 'Modify global network settings' ) . '</li></ul>';
32 get_current_screen()->add_help_tab( array(
34 'title' => __( 'Overview' ),
35 'content' => $overview
38 $quick_tasks = '<p>' . __( 'The Right Now widget on this screen provides current user and site counts on your network.' ) . '</p>';
39 $quick_tasks .= '<ul><li>' . __( 'To add a new user <strong>click Create a New User</strong>' ) . '</li>';
40 $quick_tasks .= '<li>' . __( 'To add a new site <strong>click Create a New Site</strong>' ) . '</li></ul>';
41 $quick_tasks .= '<p>' . __( 'To search for a user or site, use the search boxes.' ) . '</p>';
42 $quick_tasks .= '<ul><li>' . __( '<strong>To search for a user</strong> enter all or part of a username or email address' ) . '</li>';
43 $quick_tasks .= '<li>' . __( '<strong>To search for a site</strong> enter the path or domain' ) . '</li></ul>';
45 get_current_screen()->add_help_tab( array(
46 'id' => 'quick-tasks',
47 'title' => __( 'Quick Tasks' ),
48 'content' => $quick_tasks
51 get_current_screen()->set_help_sidebar(
52 '<p><strong>' . __('For more information:') . '</strong></p>' .
53 '<p>' . __('<a href="http://codex.wordpress.org/Network_Admin" target="_blank">Documentation on the Network Admin</a>') . '</p>' .
54 '<p>' . __('<a href="http://wordpress.org/support/forum/multisite/" target="_blank">Support Forums</a>') . '</p>'
59 wp_enqueue_script( 'dashboard' );
60 wp_enqueue_script( 'plugin-install' );
63 add_screen_option('layout_columns', array('max' => 4, 'default' => 2) );
65 require_once( '../admin-header.php' );
70 <?php screen_icon(); ?>
71 <h2><?php echo esc_html( $title ); ?></h2>
73 <div id="dashboard-widgets-wrap">
75 <?php wp_dashboard(); ?>
77 <div class="clear"></div>
78 </div><!-- dashboard-widgets-wrap -->
82 <?php include( '../admin-footer.php' ); ?>