Make WordPress Core


Ignore:
Timestamp:
12/16/2010 07:13:01 AM (14 years ago)
Author:
nacin
Message:

Network Admin: Rename Options to Settings. Kick the tab to the end as well. see #15314.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-info.php

    r16983 r16984  
    1919add_contextual_help($current_screen,
    2020    '<p>' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '</p>' .
    21     '<p>' . __('<strong>Info</strong> The domain and path are rarely edited as this can cause the site to not work properly. The Registered date and Last Updated date are displayed. Network admins can mark a site as Archived, Spammed, Deleted and Mature, to remove from public listings or disable.') . '</p>' .
     21    '<p>' . __('<strong>Info</strong> - The domain and path are rarely edited as this can cause the site to not work properly. The Registered date and Last Updated date are displayed. Network admins can mark a site as Archived, Spammed, Deleted and Mature, to remove from public listings or disable.') . '</p>' .
    2222    '<p>' . __('See the contextual help on the next tab. ') . '</p>' .
    2323    '<p><strong>' . __('For more information:') . '</strong></p>' .
     
    9090<h3 class="nav-tab-wrapper">
    9191<?php
    92 $tabs = array( 'site-info' => array( 'label' => __('Info'), 'url' => 'site-info.php'),  'site-options' => array( 'label' => __('Options'), 'url' => 'site-options.php'),
    93               'site-users' => array( 'label' => __('Users'), 'url' => 'site-users.php'),  'site-themes' => array( 'label' => __('Themes'), 'url' => 'site-themes.php'));
     92$tabs = array(
     93    'site-info'     => array( 'label' => __( 'Info' ),     'url' => 'site-info.php'     ),
     94    'site-users'    => array( 'label' => __( 'Users' ),    'url' => 'site-users.php'    ),
     95    'site-themes'   => array( 'label' => __( 'Themes' ),   'url' => 'site-themes.php'   ),
     96    'site-settings' => array( 'label' => __( 'Settings' ), 'url' => 'site-settings.php' ),
     97);
    9498foreach ( $tabs as $tab_id => $tab ) {
    9599    $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : '';
Note: See TracChangeset for help on using the changeset viewer.