Changeset 16474
- Timestamp:
- 11/18/2010 11:02:52 PM (14 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r16457 r16474 14 14 $title = esc_html( strip_tags( $title ) ); 15 15 16 $admin_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, get_bloginfo( 'name' ) ); 16 if ( is_network_admin() ) 17 $admin_title = __( 'Network Admin' ); 18 elseif ( is_user_admin() ) 19 $admin_title = __( 'Global Dashboard' ); 20 else 21 $admin_title = get_bloginfo( 'name' ); 22 23 if ( $admin_title == $title ) 24 $admin_title = sprintf( __( '%1$s — WordPress' ), $title ); 25 else 26 $admin_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, $admin_title ); 27 17 28 $admin_title = apply_filters( 'admin_title', $admin_title, $title ); 18 29 … … 21 32 22 33 // Save the ID of the last blog admin area visited if super admin. 23 if ( is_multisite() && !is_network_admin() && is_super_admin() ) {34 if ( is_multisite() && is_blog_admin() && is_super_admin() ) { 24 35 $last_blog = get_user_option('last-blog-admin-visited'); 25 36 if ( $last_blog != $blog_id ) … … 103 114 104 115 if ( is_network_admin() ) 105 $blog_name = esc_html($current_site->site_name);116 $blog_name = sprintf( __('%s Network Admin'), esc_html($current_site->site_name) ); 106 117 elseif ( is_user_admin() ) 107 $blog_name = __('Global Dashboard');118 $blog_name = sprintf( __('%s Global Dashboard'), esc_html($current_site->site_name) ); 108 119 else 109 120 $blog_name = get_bloginfo('name', 'display'); -
trunk/wp-admin/network/index.php
r16272 r16474 20 20 wp_die( __( 'You do not have permission to access this page.' ) ); 21 21 22 $title = __( ' NetworkDashboard' );22 $title = __( 'Dashboard' ); 23 23 $parent_file = 'index.php'; 24 24
Note: See TracChangeset
for help on using the changeset viewer.