Ticket #26601: 26601.network.diff
| File 26601.network.diff, 3.7 KB (added by , 9 years ago) |
|---|
-
src/wp-admin/my-sites.php
55 55 <?php } ?> 56 56 57 57 <div class="wrap"> 58 <h1 ><?php58 <h1 class="wp-heading-inline"><?php 59 59 echo esc_html( $title ); 60 ?></h1> 60 61 62 <?php 61 63 if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ) ) ) { 62 64 /** This filter is documented in wp-login.php */ 63 65 $sign_up_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ); 64 66 printf( ' <a href="%s" class="page-title-action">%s</a>', esc_url( $sign_up_url ), esc_html_x( 'Add New', 'site' ) ); 65 67 } 66 ?></h1>67 68 68 <?php69 69 if ( empty( $blogs ) ) : 70 70 echo '<p>'; 71 71 _e( 'You must be a member of at least one site to use this page.' ); … … 72 72 echo '</p>'; 73 73 else : 74 74 ?> 75 76 <hr class="wp-header-end"> 77 75 78 <form id="myblogs" method="post"> 76 79 <?php 77 80 choose_primary_blog(); -
src/wp-admin/network/sites.php
287 287 ?> 288 288 289 289 <div class="wrap"> 290 <h1 ><?php _e( 'Sites' ); ?>290 <h1 class="wp-heading-inline"><?php _e( 'Sites' ); ?></h1> 291 291 292 292 <?php if ( current_user_can( 'create_sites') ) : ?> 293 293 <a href="<?php echo network_admin_url('site-new.php'); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'site' ); ?></a> … … 297 297 if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) { 298 298 /* translators: %s: search keywords */ 299 299 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $s ) ); 300 } ?>301 </h1>300 } 301 ?> 302 302 303 <hr class="wp-header-end"> 304 303 305 <?php echo $msg; ?> 304 306 305 307 <form method="get" id="ms-search"> -
src/wp-admin/network/themes.php
247 247 ?> 248 248 249 249 <div class="wrap"> 250 <h1><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="page-title-action"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } 250 <h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1> 251 252 <?php if ( current_user_can( 'install_themes' ) ) : ?> 253 <a href="theme-install.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'theme' ); ?></a> 254 <?php endif; ?> 255 256 <?php 251 257 if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) { 252 258 /* translators: %s: search keywords */ 253 259 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $s ) ); 254 260 } 255 261 ?> 256 </h1>257 262 263 <hr class="wp-header-end"> 264 258 265 <?php 259 266 if ( isset( $_GET['enabled'] ) ) { 260 267 $enabled = absint( $_GET['enabled'] ); -
src/wp-admin/network/users.php
215 215 } 216 216 ?> 217 217 <div class="wrap"> 218 <h1><?php esc_html_e( 'Users' ); 218 <h1 class="wp-heading-inline"><?php esc_html_e( 'Users' ); ?></h1> 219 220 <?php 219 221 if ( current_user_can( 'create_users') ) : ?> 220 222 <a href="<?php echo network_admin_url('user-new.php'); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a><?php 221 223 endif; … … 225 227 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $usersearch ) ); 226 228 } 227 229 ?> 228 </h1>229 230 231 <hr class="wp-header-end"> 232 230 233 <?php $wp_list_table->views(); ?> 231 234 232 235 <form method="get" class="search-form">