-
site_name) );
+elseif ( is_user_admin() )
+ $blog_name = sprintf( __('%s Global Dashboard'), esc_html($current_site->site_name) );
+else
+ $blog_name = get_bloginfo('name', 'display');
+if ( '' == $blog_name ) {
+ $blog_name = __( 'Visit Site' );
+} else {
+ $blog_name_excerpt = wp_html_excerpt($blog_name, 40);
+ if ( $blog_name != $blog_name_excerpt )
+ $blog_name_excerpt = trim($blog_name_excerpt) . '…';
+ $blog_name = $blog_name_excerpt;
+ unset($blog_name_excerpt);
+}
+$title_class = '';
+if ( function_exists('mb_strlen') ) {
+ if ( mb_strlen($blog_name, 'UTF-8') > 30 )
+ $title_class = 'class="long-title"';
+} else {
+ if ( strlen($blog_name) > 30 )
+ $title_class = 'class="long-title"';
+}
?>
-
-
-
-
-
-
-
-
-
" alt="" width="32" height="32" />
+
>
+
+
+
+
+
+
+
+
+
+
+
-
+ $links[10] = '|
' . __('Site Admin') . '';
+}
+$links[15] = '|
' . __('Log Out') . '';
+
+$links = apply_filters('admin_user_info_links', $links, $current_user);
+ksort($links);
-
%2$s!'), 'profile.php', $user_identity) ?> | | Help') ?> | Forums'); if ( ! $is_opera ) { ?> |
+echo implode(' ', $links);
+?>
+
+
+
+
parent_file = $parent_file;
+$current_screen->parent_base = preg_replace('/\?.*$/', '', $parent_file);
+$current_screen->parent_base = str_replace('.php', '', $current_screen->parent_base);
?>
-