Changeset 37466 for trunk/src/wp-admin/network/site-settings.php
- Timestamp:
- 05/19/2016 09:47:06 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-settings.php
r36171 r37466 96 96 <h1 id="edit-site"><?php echo $title; ?></h1> 97 97 <p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p> 98 <h2 class="nav-tab-wrapper nav-tab-small wp-clearfix"> 98 99 99 <?php 100 $tabs = array( 101 'site-info' => array( 'label' => __( 'Info' ), 'url' => 'site-info.php' ), 102 'site-users' => array( 'label' => __( 'Users' ), 'url' => 'site-users.php' ), 103 'site-themes' => array( 'label' => __( 'Themes' ), 'url' => 'site-themes.php' ), 104 'site-settings' => array( 'label' => __( 'Settings' ), 'url' => 'site-settings.php' ), 105 ); 106 foreach ( $tabs as $tab_id => $tab ) { 107 $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : ''; 108 echo '<a href="' . $tab['url'] . '?id=' . $id .'" class="nav-tab' . $class . '">' . esc_html( $tab['label'] ) . '</a>'; 109 } 110 ?> 111 </h2> 112 <?php 100 101 network_edit_site_nav( array( 102 'blog_id' => $id, 103 'selected' => 'site-settings' 104 ) ); 105 113 106 if ( ! empty( $messages ) ) { 114 107 foreach ( $messages as $msg )
Note: See TracChangeset
for help on using the changeset viewer.