Changeset 1069 for trunk/wp-admin/admin-header.php
- Timestamp:
- 10/12/07 16:21:15 (1 year ago)
- Files:
-
- trunk/wp-admin/admin-header.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/admin-header.php
r972 r1069 1 1 <?php 2 @header('Content- type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));2 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 3 3 if (!isset($_GET["page"])) require_once('admin.php'); 4 4 if ( $editing ) { … … 18 18 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 19 19 <title><?php bloginfo('name') ?> › <?php echo wp_specialchars( strip_tags( $title ) ); ?> — WordPress</title> 20 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 21 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?> 22 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 23 <?php endif; ?> 20 <?php wp_admin_css(); ?> 24 21 <script type="text/javascript"> 25 22 //<![CDATA[ … … 43 40 ?> 44 41 </head> 45 <body >42 <body class="wp-admin <?php echo apply_filters( 'admin_body_class', '' ); ?>"> 46 43 <div id="wphead"> 47 <h1><?php bloginfo('name'); ?> <span >(<a href="<?php echo get_option('home') . '/'; ?>"><?php _e('View site »') ?></a>)</span></h1>44 <h1><?php bloginfo('name'); ?> <span id="viewsite">(<a href="<?php echo get_option('home') . '/'; ?>"><?php _e('View site »') ?></a>)</span></h1> 48 45 </div> 49 46 <div id="user_info"><p><?php printf(__('Howdy, <strong>%s</strong>.'), $user_identity) ?> [<a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>"><?php _e('Sign Out'); ?></a>, <a href="profile.php"><?php _e('My Profile'); ?></a>] </p></div> 50 47 51 48 <?php 52 require(ABSPATH . ' /wp-admin/menu-header.php');49 require(ABSPATH . 'wp-admin/menu-header.php'); 53 50 54 51 if ( $parent_file == 'options-general.php' ) { 55 require(ABSPATH . ' /wp-admin/options-head.php');52 require(ABSPATH . 'wp-admin/options-head.php'); 56 53 } 57 54 ?>
