Remove orphaned Turbo/Gears message in Opera. see #11301
git-svn-id: https://develop.svn.wordpress.org/trunk@13524 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e736145a98
commit
4705737542
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Turbo Administration Panel.
|
* Tools Administration Panel.
|
||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
* @subpackage Administration
|
* @subpackage Administration
|
||||||
|
@ -19,10 +19,10 @@ require_once('admin-header.php');
|
||||||
<?php screen_icon(); ?>
|
<?php screen_icon(); ?>
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<div class="tool-box">
|
|
||||||
<?php
|
<?php
|
||||||
if ( ! $is_opera ) {
|
if ( ! $is_opera ) {
|
||||||
?>
|
?>
|
||||||
|
<div class="tool-box">
|
||||||
<div id="gears-msg1">
|
<div id="gears-msg1">
|
||||||
<h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Speed up WordPress'); ?></h3>
|
<h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Speed up WordPress'); ?></h3>
|
||||||
<p><?php _e('WordPress now has support for Gears, which adds new features to your web browser.'); ?><br />
|
<p><?php _e('WordPress now has support for Gears, which adds new features to your web browser.'); ?><br />
|
||||||
|
@ -72,10 +72,8 @@ if ( ! $is_opera ) {
|
||||||
<p><strong><?php _e('Note: Do not enable Gears if this is a public or shared computer!'); ?></strong></p>
|
<p><strong><?php _e('Note: Do not enable Gears if this is a public or shared computer!'); ?></strong></p>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">wpGears.message();</script>
|
<script type="text/javascript">wpGears.message();</script>
|
||||||
<?php } else {
|
|
||||||
_e('Turbo is not available for your browser.');
|
|
||||||
} ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
<?php if ( current_user_can('edit_posts') ) : ?>
|
<?php if ( current_user_can('edit_posts') ) : ?>
|
||||||
<div class="tool-box">
|
<div class="tool-box">
|
||||||
|
|
Loading…
Reference in New Issue