mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Network Admin: Rename Options to Settings. Kick the tab to the end as well. see #15314.
git-svn-id: https://develop.svn.wordpress.org/trunk@16984 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -24,7 +24,7 @@ $action = $wp_list_table->current_action();
|
||||
|
||||
add_contextual_help($current_screen,
|
||||
'<p>' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '</p>' .
|
||||
'<p>' . __('<strong>Users</strong> This displays the users associated with this site. You can also change their role, reset their passowrd, or remove them from the site. Removing the user from the site does not remove the user from the network. ') . '</p>' .
|
||||
'<p>' . __('<strong>Users</strong> - This displays the users associated with this site. You can also change their role, reset their passowrd, or remove them from the site. Removing the user from the site does not remove the user from the network. ') . '</p>' .
|
||||
'<p>' . __('See the contextual help on the next tab. ') . '</p>' .
|
||||
'<p><strong>' . __('For more information:') . '</strong></p>' .
|
||||
'<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Options_SubPanel" target="_blank">Documentation on Network Settings</a>') . '</p>' .
|
||||
@@ -163,8 +163,12 @@ require('../admin-header.php'); ?>
|
||||
<h2 id="edit-site"><?php echo $title ?></h2>
|
||||
<h3 class="nav-tab-wrapper">
|
||||
<?php
|
||||
$tabs = array( 'site-info' => array( 'label' => __('Info'), 'url' => 'site-info.php'), 'site-options' => array( 'label' => __('Options'), 'url' => 'site-options.php'),
|
||||
'site-users' => array( 'label' => __('Users'), 'url' => 'site-users.php'), 'site-themes' => array( 'label' => __('Themes'), 'url' => 'site-themes.php'));
|
||||
$tabs = array(
|
||||
'site-info' => array( 'label' => __( 'Info' ), 'url' => 'site-info.php' ),
|
||||
'site-users' => array( 'label' => __( 'Users' ), 'url' => 'site-users.php' ),
|
||||
'site-themes' => array( 'label' => __( 'Themes' ), 'url' => 'site-themes.php' ),
|
||||
'site-settings' => array( 'label' => __( 'Settings' ), 'url' => 'site-settings.php' ),
|
||||
);
|
||||
foreach ( $tabs as $tab_id => $tab ) {
|
||||
$class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : '';
|
||||
echo '<a href="' . $tab['url'] . '?id=' . $id .'" class="nav-tab' . $class . '">' . esc_html( $tab['label'] ) . '</a>';
|
||||
|
||||
Reference in New Issue
Block a user