Make WordPress Core

Ticket #23163: 23163-sites.diff

File 23163-sites.diff, 3.9 KB (added by DrewAPicture, 13 years ago)

/network/sites.php

  • wp-admin/network/sites.php

     
    2424
    2525add_screen_option( 'per_page', array( 'label' => _x( 'Sites', 'sites per page (screen options)' ) ) );
    2626
     27$overview = '<p>' . __( 'This area of the Administration Screens is used for managing the sites in your Multisite Network.' ) . '</p>';
     28$overview .= '<p>' . __( 'From here you can:' ) . '</p>';
     29$overview .= '<ul><li>' . __( 'Add, modify or remove sites from your network' ) . '</li>';
     30$overview .= '<li>' . __( 'Search for sites in your network' ) .'</li>';
     31$overview .= '<li>' . __( 'Perform bulk actions on multiple sites at once' ) .'</li></ul>';
     32
    2733get_current_screen()->add_help_tab( array(
    2834        'id'      => 'overview',
    29         'title'   => __('Overview'),
    30         'content' =>
    31                 '<p>' . __('Add New takes you to the Add New Site screen. You can search for a site by Name, ID number, or IP address. Screen Options allows you to choose how many sites to display on one page.') . '</p>' .
    32                 '<p>' . __('This is the main table of all sites on this network. Switch between list and excerpt views by using the icons above the right side of the table.') . '</p>' .
    33                 '<p>' . __('Hovering over each site reveals seven options (three for the primary site):') . '</p>' .
    34                 '<ul><li>' . __('An Edit link to a separate Edit Site screen.') . '</li>' .
    35                 '<li>' . __('Dashboard leads to the Dashboard for that site.') . '</li>' .
    36                 '<li>' . __('Deactivate, Archive, and Spam which lead to confirmation screens. These actions can be reversed later.') . '</li>' .
    37                 '<li>' . __('Delete which is a permanent action after the confirmation screens.') . '</li>' .
    38                 '<li>' . __('Visit to go to the frontend site live.') . '</li></ul>' .
    39                 '<p>' . __('The site ID is used internally, and is not shown on the front end of the site or to users/viewers.') . '</p>' .
    40                 '<p>' . __('Clicking on bold headings can re-sort this table.') . '</p>'
     35        'title'   => __( 'Overview' ),
     36        'content' => $overview
    4137) );
    4238
     39$management = '<p>' . __( 'The site management screen allows you to modify aspects of one or many of your sites at once.' ) . '</p>';
     40$management .= '<p>' . __( '<strong>Hovering over each site</strong> reveals seven options (three for the primary site):' ) . '</p>';
     41$management .= '<ul><li>' . __( '<strong>Clicking Edit</strong> takes you to a multi-part settings screen for that site' ) . '</li>';
     42$management .= '<li>' . __( '<strong>Clicking Dashboard</strong> takes you to the Dashboard screen for that site' ) . '</li>';
     43$management .= '<li>' . __( '<strong>Clicking Deactivate, Archive, or Spam</strong> performs the specified action with a confirmation screen' ) . '</li>';
     44$management .= '<li>' . __( '<strong>Clicking Delete</strong> deletes a site from your network, following a confirmation screen' ) . '</li>';
     45$management .= '<li>' . __( '<strong>Clicking Visit</strong> takes you to the front-end view of the site' ) . '</li></ul>';
     46
     47get_current_screen()->add_help_tab( array(
     48        'id'      => 'site-management',
     49        'title'   => __( 'Site Management' ),
     50        'content' => $management
     51) );
     52
    4353get_current_screen()->set_help_sidebar(
    44         '<p><strong>' . __('For more information:') . '</strong></p>' .
    45         '<p>' . __('<a href="http://codex.wordpress.org/Network_Admin_Sites_Screen" target="_blank">Documentation on Site Management</a>') . '</p>' .
    46         '<p>' . __('<a href="http://wordpress.org/support/forum/multisite/" target="_blank">Support Forums</a>') . '</p>'
     54        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
     55        '<p>' . __( '<a href="http://codex.wordpress.org/Network_Admin_Sites_Screen" target="_blank">Documentation on Site Management</a>' ) . '</p>' .
     56        '<p>' . __( '<a href="http://wordpress.org/support/forum/multisite/" target="_blank">Support Forums</a>' ) . '</p>'
    4757);
    4858
    4959$id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0;