Changes from trunk/wp-admin/admin-header.php at r8249 to branches/2.6/wp-admin/admin-header.php at r8418
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/wp-admin/admin-header.php
r8249 r8418 75 75 76 76 <?php 77 $gears_compat = false; 78 79 if ( ($is_gecko || $is_winIE) && strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'webkit') === false ) { 80 $gears_compat = true; 77 if ( ! $is_opera ) { 81 78 ?> 82 79 <div id="gears-info-box" class="info-box" style="display:none;"> … … 94 91 <h3 class="info-box-title"><?php _e('Gears Status'); ?></h3> 95 92 <p><?php _e('Gears is installed on this computer but is not enabled for use with WordPress.'); ?></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> 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> 97 101 <p><strong><?php _e('However if this is a public or shared computer, Gears should not be enabled.'); ?></strong></p> 98 102 <div class="submit"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button> … … 102 106 <div id="gears-msg3" style="display:none;"> 103 107 <h3 class="info-box-title"><?php _e('Gears Status'); ?></h3> 104 <p><?php _e('Gears is installed and enabled on this computer. You can disable it from your browser Tools menu.'); ?></p> 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> 105 116 <p><?php _e('If there are any errors, try disabling Gears, then reload the page and enable it again.'); ?></p> 106 117 <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> … … 108 119 </div> 109 120 </div> 110 111 121 <?php } ?> 112 122 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>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> 114 124 115 125 <?php
Note: See TracChangeset
for help on using the changeset viewer.