Changes from branches/2.6/wp-admin/admin-header.php at r8418 to trunk/wp-admin/admin-header.php at r8249
- File:
-
- 1 edited
-
trunk/wp-admin/admin-header.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r8418 r8249 75 75 76 76 <?php 77 if ( ! $is_opera ) { 77 $gears_compat = false; 78 79 if ( ($is_gecko || $is_winIE) && strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'webkit') === false ) { 80 $gears_compat = true; 78 81 ?> 79 82 <div id="gears-info-box" class="info-box" style="display:none;"> … … 91 94 <h3 class="info-box-title"><?php _e('Gears Status'); ?></h3> 92 95 <p><?php _e('Gears is installed on this computer but is not enabled for use with WordPress.'); ?></p> 93 <p><?php 94 95 if ( $is_safari ) 96 _e('To enable it, make sure this web site is not on the denied list in Gears Settings under the Safari menu, then click the button below.'); 97 else 98 _e('To enable it, make sure this web site is not on the denied list in Gears Settings under your browser Tools menu, then click the button below.'); 99 100 ?></p> 96 <p><?php _e('To enable it, make sure this web site is not on the denied list in Gears Settings under your browser\'s Tools menu, then click the button below.'); ?></p> 101 97 <p><strong><?php _e('However if this is a public or shared computer, Gears should not be enabled.'); ?></strong></p> 102 98 <div class="submit"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button> … … 106 102 <div id="gears-msg3" style="display:none;"> 107 103 <h3 class="info-box-title"><?php _e('Gears Status'); ?></h3> 108 <p><?php 109 110 if ( $is_safari ) 111 _e('Gears is installed and enabled on this computer. You can disable it from the Safari menu.'); 112 else 113 _e('Gears is installed and enabled on this computer. You can disable it from your browser Tools menu.'); 114 115 ?></p> 104 <p><?php _e('Gears is installed and enabled on this computer. You can disable it from your browser Tools menu.'); ?></p> 116 105 <p><?php _e('If there are any errors, try disabling Gears, then reload the page and enable it again.'); ?></p> 117 106 <p><?php _e('Local storage status:'); ?> <span id="gears-wait"><span style="color:#f00;"><?php _e('Please wait! Updating files:'); ?></span> <span id="gears-upd-number"></span></span></p> … … 119 108 </div> 120 109 </div> 110 121 111 <?php } ?> 122 112 123 <div id="user_info"><p><?php printf(__('Howdy, <a href="%1$s">%2$s</a>!'), 'profile.php', $user_identity) ?> | <a href="<?php echo site_url('wp-login.php?action=logout', 'login') ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a> | <?php _e('<a href="http://codex.wordpress.org/">Help</a>') ?> | <?php _e('<a href="http://wordpress.org/support/">Forums</a>'); if ( ! $is_opera) { ?> | <span id="gears-menu"><a href="#" onclick="wpGears.message(1);return false;"><?php _e('Turbo') ?></a></span><?php } ?></p></div>113 <div id="user_info"><p><?php printf(__('Howdy, <a href="%1$s">%2$s</a>!'), 'profile.php', $user_identity) ?> | <a href="<?php echo site_url('wp-login.php?action=logout', 'login') ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a> | <?php _e('<a href="http://codex.wordpress.org/">Help</a>') ?> | <?php _e('<a href="http://wordpress.org/support/">Forums</a>'); if ( $gears_compat ) { ?> | <span id="gears-menu"><a href="#" onclick="wpGears.message(1);return false;"><?php _e('Turbo') ?></a></span><?php } ?></p></div> 124 114 125 115 <?php
Note: See TracChangeset
for help on using the changeset viewer.