Ticket #32525: 32525.diff
| File 32525.diff, 5.0 KB (added by , 11 years ago) |
|---|
-
src/wp-admin/network/site-info.php
129 129 $title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' ); 130 130 $title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); 131 131 132 $dashboard = '<a class="add-new-h2" href="' . get_admin_url( $id ) . '">' . __( 'Dashboard' ) . '</a>'; 133 132 134 $parent_file = 'sites.php'; 133 135 $submenu_file = 'sites.php'; 134 136 … … 138 140 139 141 <div class="wrap"> 140 142 <h1 id="edit-site"><?php echo $title_site_url_linked; ?></h1> 141 <h 3class="nav-tab-wrapper">143 <h2 class="nav-tab-wrapper"> 142 144 <?php 143 145 $tabs = array( 144 146 'site-info' => array( 'label' => __( 'Info' ), 'url' => 'site-info.php' ), … … 150 152 $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : ''; 151 153 echo '<a href="' . $tab['url'] . '?id=' . $id .'" class="nav-tab' . $class . '">' . esc_html( $tab['label'] ) . '</a>'; 152 154 } 155 // link to the site dashboard is displayed after the tabs 156 echo $dashboard; 153 157 ?> 154 </h 3>158 </h2> 155 159 <?php 156 160 if ( ! empty( $messages ) ) { 157 161 foreach ( $messages as $msg ) { -
src/wp-admin/network/site-settings.php
79 79 $title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' ); 80 80 $title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); 81 81 82 $dashboard = '<a class="add-new-h2" href="' . get_admin_url( $id ) . '">' . __( 'Dashboard' ) . '</a>'; 83 82 84 $parent_file = 'sites.php'; 83 85 $submenu_file = 'sites.php'; 84 86 … … 88 90 89 91 <div class="wrap"> 90 92 <h1 id="edit-site"><?php echo $title_site_url_linked; ?></h1> 91 <h 3class="nav-tab-wrapper">93 <h2 class="nav-tab-wrapper"> 92 94 <?php 93 95 $tabs = array( 94 96 'site-info' => array( 'label' => __( 'Info' ), 'url' => 'site-info.php' ), … … 100 102 $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : ''; 101 103 echo '<a href="' . $tab['url'] . '?id=' . $id .'" class="nav-tab' . $class . '">' . esc_html( $tab['label'] ) . '</a>'; 102 104 } 105 // link to the site dashboard is displayed after the tabs 106 echo $dashboard; 103 107 ?> 104 </h 3>108 </h2> 105 109 <?php 106 110 if ( ! empty( $messages ) ) { 107 111 foreach ( $messages as $msg ) -
src/wp-admin/network/site-themes.php
133 133 $title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' ); 134 134 $title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); 135 135 136 $dashboard = '<a class="add-new-h2" href="' . get_admin_url( $id ) . '">' . __( 'Dashboard' ) . '</a>'; 137 136 138 $parent_file = 'sites.php'; 137 139 $submenu_file = 'sites.php'; 138 140 … … 140 142 141 143 <div class="wrap"> 142 144 <h1 id="edit-site"><?php echo $title_site_url_linked; ?></h1> 143 <h 3class="nav-tab-wrapper">145 <h2 class="nav-tab-wrapper"> 144 146 <?php 145 147 $tabs = array( 146 148 'site-info' => array( 'label' => __( 'Info' ), 'url' => 'site-info.php' ), … … 152 154 $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : ''; 153 155 echo '<a href="' . $tab['url'] . '?id=' . $id .'" class="nav-tab' . $class . '">' . esc_html( $tab['label'] ) . '</a>'; 154 156 } 157 // link to the site dashboard is displayed after the tabs 158 echo $dashboard; 155 159 ?> 156 </h 3><?php160 </h2><?php 157 161 158 162 if ( isset( $_GET['enabled'] ) ) { 159 163 $enabled = absint( $_GET['enabled'] ); -
src/wp-admin/network/site-users.php
161 161 $title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' ); 162 162 $title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http ); 163 163 164 $dashboard = '<a class="add-new-h2" href="' . get_admin_url( $id ) . '">' . __( 'Dashboard' ) . '</a>'; 165 164 166 $parent_file = 'sites.php'; 165 167 $submenu_file = 'sites.php'; 166 168 … … 183 185 184 186 <div class="wrap"> 185 187 <h1 id="edit-site"><?php echo $title_site_url_linked; ?></h1> 186 <h 3class="nav-tab-wrapper">188 <h2 class="nav-tab-wrapper"> 187 189 <?php 188 190 $tabs = array( 189 191 'site-info' => array( 'label' => __( 'Info' ), 'url' => 'site-info.php' ), … … 195 197 $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : ''; 196 198 echo '<a href="' . $tab['url'] . '?id=' . $id .'" class="nav-tab' . $class . '">' . esc_html( $tab['label'] ) . '</a>'; 197 199 } 200 // link to the site dashboard is displayed after the tabs 201 echo $dashboard; 198 202 ?> 199 </h 3><?php203 </h2><?php 200 204 201 205 if ( isset($_GET['update']) ) : 202 206 switch($_GET['update']) {