X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/wordpress.git/blobdiff_plain/ff81ee6e8304a1982a3ec4f5b134764a29d502cf..refs/tags/wordpress-3.1:/wp-admin/admin-header.php?ds=sidebyside diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index b994f7c5..ac793409 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -1,72 +1,196 @@ - - - + >
- -%2$s'), 'profile.php', $user_identity); +if ( is_multisite() && is_super_admin() ) { + if ( !is_network_admin() ) + $links[10] = '| ' . __('Network Admin') . ( ! empty( $total_update_count ) ? ' (' . number_format_i18n( $total_update_count ) . ')' : '' ) . ''; + else + $links[10] = '| ' . __('Site Admin') . ''; +} +$links[15] = '| ' . __('Log Out') . ''; + +$links = apply_filters('admin_user_info_links', $links, $current_user); +ksort($links); + +echo implode(' ', $links); +?>
+