mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Place a "Privacy On" mini-alert in the wp-admin header when it is on, to prevent people from accidentally delisting themselves from search engines. props scottbasgaard. fixes #12211
git-svn-id: http://svn.automattic.com/wordpress/trunk@13168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
082eca5c48
commit
c2566a917a
@ -95,7 +95,7 @@ if ( function_exists('mb_strlen') ) {
|
||||
}
|
||||
?>
|
||||
|
||||
<img id="header-logo" src="../wp-includes/images/blank.gif" alt="" width="32" height="32" /> <h1 id="site-heading" <?php echo $title_class ?>><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php _e('Visit Site') ?>"><span id="site-title"><?php echo $blog_name ?></span> <em id="site-visit-button"><?php _e('Visit Site') ?></em></a></h1>
|
||||
<img id="header-logo" src="../wp-includes/images/blank.gif" alt="" width="32" height="32" /> <h1 id="site-heading" <?php echo $title_class ?>><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php _e('Visit Site') ?>"><span id="site-title"><?php echo $blog_name ?></span> <em id="site-visit-button" class="site-title-button"><?php _e('Visit Site') ?></em></a> <?php if ( ! get_option('blog_public') ) { ?><a href="options-privacy.php" title="<?php _e('Your blog is hidden from search engines') ?>"><em class="site-title-button"><?php _e('Privacy On') ?></em></a> <?php } ?></h1>
|
||||
|
||||
<div id="wphead-info">
|
||||
<div id="user_info">
|
||||
|
File diff suppressed because one or more lines are too long
@ -1596,19 +1596,19 @@ fieldset.inline-edit-col-right .inline-edit-col {
|
||||
background: transparent url(../images/wp-logo-vs.gif) no-repeat scroll center center;
|
||||
}
|
||||
|
||||
#wphead #site-visit-button {
|
||||
#wphead .site-title-button {
|
||||
background-color: #3c6b95;
|
||||
background-image: url(../images/visit-site-button-grad-vs.gif);
|
||||
color: #b6d1e4;
|
||||
text-shadow: #3f3f3f 0 -1px 0;
|
||||
}
|
||||
|
||||
#wphead a:hover #site-visit-button {
|
||||
#wphead a:hover .site-title-button {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wphead a:focus #site-visit-button,
|
||||
#wphead a:active #site-visit-button {
|
||||
#wphead a:focus .site-title-button,
|
||||
#wphead a:active .site-title-button {
|
||||
background-position: 0 -27px;
|
||||
}
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -1585,19 +1585,19 @@ fieldset.inline-edit-col-right .inline-edit-col {
|
||||
background: transparent url(../images/wp-logo.gif) no-repeat scroll center center;
|
||||
}
|
||||
|
||||
#wphead #site-visit-button {
|
||||
#wphead .site-title-button {
|
||||
background-color: #585858;
|
||||
background-image: url(../images/visit-site-button-grad.gif);
|
||||
color: #aaa;
|
||||
text-shadow: #3F3F3F 0 -1px 0;
|
||||
}
|
||||
|
||||
#wphead a:hover #site-visit-button {
|
||||
#wphead a:hover .site-title-button {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wphead a:focus #site-visit-button,
|
||||
#wphead a:active #site-visit-button {
|
||||
#wphead a:focus .site-title-button,
|
||||
#wphead a:active .site-title-button {
|
||||
background-position:0 -27px;
|
||||
}
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -902,7 +902,7 @@ div.comment-item:hover .row-actions {
|
||||
padding: 12px 10px 5px;
|
||||
}
|
||||
|
||||
#wphead #site-visit-button {
|
||||
#wphead .site-title-button {
|
||||
background-repeat: repeat-x;
|
||||
background-position: 0 0;
|
||||
-moz-border-radius: 3px;
|
||||
|
@ -432,9 +432,9 @@ function wp_default_styles( &$styles ) {
|
||||
$rtl_styles = array( 'wp-admin', 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' );
|
||||
|
||||
// all colors stylesheets need to have the same query strings (cache manifest compat)
|
||||
$colors_version = '20091227';
|
||||
$colors_version = '20100215';
|
||||
|
||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20100108' );
|
||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20100215' );
|
||||
|
||||
$styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20100108' );
|
||||
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
||||
|
Loading…
Reference in New Issue
Block a user