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: https://develop.svn.wordpress.org/trunk@13168 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
49d4b41207
commit
5b5b870b16
|
@ -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="wphead-info">
|
||||||
<div id="user_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;
|
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-color: #3c6b95;
|
||||||
background-image: url(../images/visit-site-button-grad-vs.gif);
|
background-image: url(../images/visit-site-button-grad-vs.gif);
|
||||||
color: #b6d1e4;
|
color: #b6d1e4;
|
||||||
text-shadow: #3f3f3f 0 -1px 0;
|
text-shadow: #3f3f3f 0 -1px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead a:hover #site-visit-button {
|
#wphead a:hover .site-title-button {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead a:focus #site-visit-button,
|
#wphead a:focus .site-title-button,
|
||||||
#wphead a:active #site-visit-button {
|
#wphead a:active .site-title-button {
|
||||||
background-position: 0 -27px;
|
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;
|
background: transparent url(../images/wp-logo.gif) no-repeat scroll center center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead #site-visit-button {
|
#wphead .site-title-button {
|
||||||
background-color: #585858;
|
background-color: #585858;
|
||||||
background-image: url(../images/visit-site-button-grad.gif);
|
background-image: url(../images/visit-site-button-grad.gif);
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
text-shadow: #3F3F3F 0 -1px 0;
|
text-shadow: #3F3F3F 0 -1px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead a:hover #site-visit-button {
|
#wphead a:hover .site-title-button {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead a:focus #site-visit-button,
|
#wphead a:focus .site-title-button,
|
||||||
#wphead a:active #site-visit-button {
|
#wphead a:active .site-title-button {
|
||||||
background-position:0 -27px;
|
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;
|
padding: 12px 10px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead #site-visit-button {
|
#wphead .site-title-button {
|
||||||
background-repeat: repeat-x;
|
background-repeat: repeat-x;
|
||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
-moz-border-radius: 3px;
|
-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' );
|
$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)
|
// 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( 'ie', '/wp-admin/css/ie.css', array(), '20100108' );
|
||||||
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
||||||
|
|
Loading…
Reference in New Issue