Changeset 42343 for trunk/src/wp-admin/network/index.php
- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/index.php
r40776 r42343 14 14 require_once( ABSPATH . 'wp-admin/includes/dashboard.php' ); 15 15 16 if ( ! current_user_can( 'manage_network' ) ) 16 if ( ! current_user_can( 'manage_network' ) ) { 17 17 wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); 18 } 18 19 19 $title = __( 'Dashboard' );20 $title = __( 'Dashboard' ); 20 21 $parent_file = 'index.php'; 21 22 22 $overview = '<p>' . __( 'Welcome to your Network Admin. This area of the Administration Screens is used for managing all aspects of your Multisite Network.' ) . '</p>';23 $overview = '<p>' . __( 'Welcome to your Network Admin. This area of the Administration Screens is used for managing all aspects of your Multisite Network.' ) . '</p>'; 23 24 $overview .= '<p>' . __( 'From here you can:' ) . '</p>'; 24 25 $overview .= '<ul><li>' . __( 'Add and manage sites or users' ) . '</li>'; … … 27 28 $overview .= '<li>' . __( 'Modify global network settings' ) . '</li></ul>'; 28 29 29 get_current_screen()->add_help_tab( array( 30 'id' => 'overview', 31 'title' => __( 'Overview' ), 32 'content' => $overview 33 ) ); 30 get_current_screen()->add_help_tab( 31 array( 32 'id' => 'overview', 33 'title' => __( 'Overview' ), 34 'content' => $overview, 35 ) 36 ); 34 37 35 $quick_tasks = '<p>' . __( 'The Right Now widget on this screen provides current user and site counts on your network.' ) . '</p>';38 $quick_tasks = '<p>' . __( 'The Right Now widget on this screen provides current user and site counts on your network.' ) . '</p>'; 36 39 $quick_tasks .= '<ul><li>' . __( 'To add a new user, <strong>click Create a New User</strong>.' ) . '</li>'; 37 40 $quick_tasks .= '<li>' . __( 'To add a new site, <strong>click Create a New Site</strong>.' ) . '</li></ul>'; … … 40 43 $quick_tasks .= '<li>' . __( 'To search for a site, <strong>enter the path or domain</strong>.' ) . '</li></ul>'; 41 44 42 get_current_screen()->add_help_tab( array( 43 'id' => 'quick-tasks', 44 'title' => __( 'Quick Tasks' ), 45 'content' => $quick_tasks 46 ) ); 45 get_current_screen()->add_help_tab( 46 array( 47 'id' => 'quick-tasks', 48 'title' => __( 'Quick Tasks' ), 49 'content' => $quick_tasks, 50 ) 51 ); 47 52 48 53 get_current_screen()->set_help_sidebar( 49 '<p><strong>' . __( 'For more information:') . '</strong></p>' .50 '<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin">Documentation on the Network Admin</a>') . '</p>' .51 '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>') . '</p>'54 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 55 '<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin">Documentation on the Network Admin</a>' ) . '</p>' . 56 '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>' 52 57 ); 53 58
Note: See TracChangeset
for help on using the changeset viewer.