raw
mp-wp_genesis           1 <?php
mp-wp_genesis 2 /**
mp-wp_genesis 3 * WordPress Administration Template Header
mp-wp_genesis 4 *
mp-wp_genesis 5 * @package WordPress
mp-wp_genesis 6 * @subpackage Administration
mp-wp_genesis 7 */
mp-wp_genesis 8
mp-wp_genesis 9 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
mp-wp_genesis 10 if (!isset($_GET["page"])) require_once('admin.php');
mp-wp_genesis 11
mp-wp_genesis 12 get_admin_page_title();
mp-wp_genesis 13 $title = wp_specialchars( strip_tags( $title ) );
mp-wp_genesis 14 wp_user_settings();
mp-wp_genesis 15 ?>
mp-wp_genesis 16 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
mp-wp_genesis 17 <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
mp-wp_genesis 18 <head>
mp-wp_genesis 19 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
mp-wp_genesis 20 <title><?php bloginfo('name') ?> &rsaquo; <?php echo $title; ?> &#8212; WordPress</title>
mp-wp_genesis 21 <?php
mp-wp_genesis 22
mp-wp_genesis 23 wp_admin_css( 'css/global' );
mp-wp_genesis 24 wp_admin_css();
mp-wp_genesis 25 wp_admin_css( 'css/colors' );
mp-wp_genesis 26 wp_admin_css( 'css/ie' );
mp-wp_genesis 27
mp-wp_genesis 28 $hook_suffix = '';
mp-wp_genesis 29 if ( isset($page_hook) )
mp-wp_genesis 30 $hook_suffix = "$page_hook";
mp-wp_genesis 31 else if ( isset($plugin_page) )
mp-wp_genesis 32 $hook_suffix = "$plugin_page";
mp-wp_genesis 33 else if ( isset($pagenow) )
mp-wp_genesis 34 $hook_suffix = "$pagenow";
mp-wp_genesis 35
mp-wp_genesis 36 do_action("admin_print_styles-$hook_suffix");
mp-wp_genesis 37 do_action('admin_print_styles');
mp-wp_genesis 38 do_action("admin_print_scripts-$hook_suffix");
mp-wp_genesis 39 do_action('admin_print_scripts');
mp-wp_genesis 40 do_action("admin_head-$hook_suffix");
mp-wp_genesis 41 do_action('admin_head');
mp-wp_genesis 42
mp-wp_genesis 43 if ( $is_iphone ) { ?>
mp-wp_genesis 44 <style type="text/css">.row-actions{visibility:visible;}</style>
mp-wp_genesis 45 <?php } ?>
mp-wp_genesis 46 </head>
mp-wp_genesis 47 <body class="wp-admin <?php echo apply_filters( 'admin_body_class', '' ); ?>">
mp-wp_genesis 48
mp-wp_genesis 49 <div id="wpwrap">
mp-wp_genesis 50 <div id="wpcontent">
mp-wp_genesis 51 <div id="wphead">
mp-wp_genesis 52 <?php
mp-wp_genesis 53 $blog_name = get_bloginfo('name', 'display');
mp-wp_genesis 54 if ( '' == $blog_name ) {
mp-wp_genesis 55 $blog_name = '&nbsp;';
mp-wp_genesis 56 } else {
mp-wp_genesis 57 $blog_name_excerpt = wp_html_excerpt($blog_name, 40);
mp-wp_genesis 58 if ( $blog_name != $blog_name_excerpt )
mp-wp_genesis 59 $blog_name_excerpt = trim($blog_name_excerpt) . '&hellip;';
mp-wp_genesis 60 $blog_name = $blog_name_excerpt;
mp-wp_genesis 61 }
mp-wp_genesis 62 $title_class = '';
mp-wp_genesis 63 if ( function_exists('mb_strlen') ) {
mp-wp_genesis 64 if ( mb_strlen($blog_name, 'UTF-8') > 30 )
mp-wp_genesis 65 $title_class = 'class="long-title"';
mp-wp_genesis 66 } else {
mp-wp_genesis 67 if ( strlen($blog_name) > 30 )
mp-wp_genesis 68 $title_class = 'class="long-title"';
mp-wp_genesis 69 }
mp-wp_genesis 70 ?>
mp-wp_genesis 71
mp-wp_update-imag... 72 <img id="header-logo" src="../wp-includes/images/blank.svg" alt="" width="32" height="32" /> <h1 <?php echo $title_class ?>><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php _e('Visit site') ?>"><?php echo $blog_name ?> <span>&larr; <?php _e('Visit site') ?></span></a></h1>
mp-wp_genesis 73
mp-wp_genesis 74 <div id="wphead-info">
mp-wp_genesis 75 <div id="user_info">
mp-wp_remove-tiny... 76 <p><?php printf(__('Howdy, <a href="%1$s" title="Edit your profile">%2$s</a>'), 'profile.php', $user_identity) ?> |
mp-wp_genesis 77 <a href="<?php echo wp_logout_url() ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a></p>
mp-wp_genesis 78 </div>
mp-wp_genesis 79 </div>
mp-wp_genesis 80 </div>
mp-wp_genesis 81
mp-wp_genesis 82 <div id="wpbody">
mp-wp_genesis 83 <?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>
mp-wp_genesis 84
mp-wp_genesis 85 <div id="wpbody-content">
mp-wp_genesis 86 <?php
mp-wp_genesis 87 do_action('admin_notices');
mp-wp_genesis 88
mp-wp_genesis 89 if ( $parent_file == 'options-general.php' ) {
mp-wp_genesis 90 require(ABSPATH . 'wp-admin/options-head.php');
mp-wp_genesis 91 }