mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Working on the header
git-svn-id: http://svn.automattic.com/wordpress/trunk@9224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
707dabfa7f
commit
d40277d4c0
@ -82,8 +82,8 @@ if ( 'index.php' == $pagenow ) {
|
|||||||
$settings_pages = array( 'categories.php', 'edit.php', 'edit-comments.php', 'edit-form-advanced.php', 'edit-link-categories.php', 'edit-link-form.php', 'edit-page-form.php', 'edit-tags.php', 'link-manager.php', 'upload.php', 'users.php', 'edit-pages.php', 'post-new.php', 'post.php', 'page-new.php', 'page.php', 'index.php' );
|
$settings_pages = array( 'categories.php', 'edit.php', 'edit-comments.php', 'edit-form-advanced.php', 'edit-link-categories.php', 'edit-link-form.php', 'edit-page-form.php', 'edit-tags.php', 'link-manager.php', 'upload.php', 'users.php', 'edit-pages.php', 'post-new.php', 'post.php', 'page-new.php', 'page.php', 'index.php' );
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<img id="logo50" src="images/logo50.png" alt="" /> <h1><?php if ( '' == get_bloginfo('name', 'display') ) echo ' '; else echo get_bloginfo('name', 'display'); ?> <a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="View site" id="view-site-link"><img src="<?php echo trailingslashit( bloginfo('wpurl') ) . 'wp-admin/images/new-window-icon.gif'; ?>" alt="" /></a>
|
<img id="logo50" src="images/wp-logo.gif" alt="" /> <h1><?php if ( '' == get_bloginfo('name', 'display') ) echo ' '; else echo get_bloginfo('name', 'display'); ?> <a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="View site" id="view-site-link"><!--<img src="<?php echo trailingslashit( bloginfo('wpurl') ) . 'wp-admin/images/new-window-icon.gif'; ?>" alt="" />--></a>
|
||||||
<span id="breadcrumb"><?php echo $breadcrumb ?></span>
|
<!--<span id="breadcrumb"><?php echo $breadcrumb ?></span>-->
|
||||||
<?php if ( in_array( $pagenow, $settings_pages ) ) { ?>
|
<?php if ( in_array( $pagenow, $settings_pages ) ) { ?>
|
||||||
<span id="edit-settings">
|
<span id="edit-settings">
|
||||||
<a href="#edit_settings" id="show-settings-link" class="hide-if-no-js show-settings"><?php _e('Page Options') ?></a>
|
<a href="#edit_settings" id="show-settings-link" class="hide-if-no-js show-settings"><?php _e('Page Options') ?></a>
|
||||||
@ -92,10 +92,18 @@ $settings_pages = array( 'categories.php', 'edit.php', 'edit-comments.php', 'edi
|
|||||||
<?php } ?></h1>
|
<?php } ?></h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="user_info"><p><?php printf(__('Howdy, <a href="%1$s" title="Edit your profile">%2$s</a>'), 'profile.php', $user_identity) ?> |
|
<div id="wphead-info">
|
||||||
|
<?php favorite_actions(); ?>
|
||||||
|
|
||||||
|
<div id="user_info">
|
||||||
|
<p><?php printf(__('Howdy, <a href="%1$s" title="Edit your profile">%2$s</a>'), 'profile.php', $user_identity) ?> |
|
||||||
|
<!--
|
||||||
<?php _e('<a href="http://codex.wordpress.org/">Documentation</a>'); ?> |
|
<?php _e('<a href="http://codex.wordpress.org/">Documentation</a>'); ?> |
|
||||||
<?php _e('<a href="http://wordpress.org/support/forum/4">Feedback</a>'); ?> |
|
<?php _e('<a href="http://wordpress.org/support/forum/4">Feedback</a>'); ?> |
|
||||||
<a href="<?php echo wp_logout_url() ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a></p></div>
|
-->
|
||||||
|
<a href="<?php echo wp_logout_url() ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<?php
|
<?php
|
||||||
require(ABSPATH . 'wp-admin/menu-header.php');
|
require(ABSPATH . 'wp-admin/menu-header.php');
|
||||||
?>
|
?>
|
||||||
@ -107,5 +115,3 @@ do_action('admin_notices');
|
|||||||
if ( $parent_file == 'options-general.php' ) {
|
if ( $parent_file == 'options-general.php' ) {
|
||||||
require(ABSPATH . 'wp-admin/options-head.php');
|
require(ABSPATH . 'wp-admin/options-head.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
favorite_actions();
|
|
||||||
|
@ -573,7 +573,7 @@ input.readonly {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#wphead {
|
#wphead {
|
||||||
background-color: #e4f2fd;
|
background-color: #464646;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead, body.login {
|
#wphead, body.login {
|
||||||
@ -591,13 +591,23 @@ input.readonly {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#wphead h1, #wphead h1 a, #login form input {
|
#wphead h1, #wphead h1 a, #login form input {
|
||||||
color: #555;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead h1 a:hover {
|
#wphead h1 a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#user_info {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
#user_info a, #user_info a:visited {
|
||||||
|
color: #ccc;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover, .delete:hover {
|
div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover, .delete:hover {
|
||||||
color: #f00;
|
color: #f00;
|
||||||
}
|
}
|
||||||
|
BIN
wp-admin/images/wp-logo.gif
Normal file
BIN
wp-admin/images/wp-logo.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 475 B |
@ -597,19 +597,22 @@ a.view-comment-post-link {
|
|||||||
|
|
||||||
/* Admin Header */
|
/* Admin Header */
|
||||||
|
|
||||||
#user_info {
|
#wphead-info {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 15px;
|
right: 15px;
|
||||||
top: 0;
|
top: 0;
|
||||||
font-size: 11px;
|
}
|
||||||
line-height: 31px;
|
|
||||||
height: 31px;
|
#user_info {
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 46px;
|
||||||
|
height: 46px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#user_info p {
|
#user_info p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
line-height: 20px;
|
line-height: 46px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a#view-site-link {
|
a#view-site-link {
|
||||||
@ -618,7 +621,7 @@ a#view-site-link {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#wphead {
|
#wphead {
|
||||||
height: 58px;
|
height: 46px;
|
||||||
border-bottom-width: 1px;
|
border-bottom-width: 1px;
|
||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
}
|
}
|
||||||
@ -636,7 +639,7 @@ a#view-site-link {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#logo50 {
|
#logo50 {
|
||||||
margin: 4px 8px 0;
|
margin: 9px 0 0 20px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -660,8 +663,8 @@ ul#adminmenu li.write-new-button a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#wphead h1 {
|
#wphead h1 {
|
||||||
font: normal 36px Georgia, "Times New Roman", Times, serif;
|
font: normal 22px Georgia, "Times New Roman", Times, serif;
|
||||||
padding: 11px 170px 5px 70px;
|
padding: 11px 170px 5px 60px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-right: 15%;
|
margin-right: 15%;
|
||||||
}
|
}
|
||||||
@ -2484,8 +2487,8 @@ abbr.required {
|
|||||||
/* favorite-actions */
|
/* favorite-actions */
|
||||||
#favorite-actions {
|
#favorite-actions {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 15px;
|
left: -150px;
|
||||||
top: 25px;
|
top: 10px;
|
||||||
width: 130px;
|
width: 130px;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user