Ticket #6965: gears-nogoogle.patch

File gears-nogoogle.patch, 3.2 KB (added by azaozz, 4 years ago)

Moving Google out of Gears...

  • wp-admin/admin-header.php

     
    8383        <img src="images/gear.png" title="Gear" alt="" class="gears-img" /> 
    8484        <div id="gears-msg1"> 
    8585        <h3 class="info-box-title"><?php _e('Speed up WordPress'); ?></h3> 
    86         <p><?php _e('WordPress has support for Google Gears that adds new features to your web browser.'); ?><br /> 
     86        <p><?php _e('WordPress has support for Gears that adds new features to your web browser.'); ?><br /> 
    8787        <a href="http://gears.google.com/" target="_blank" style="font-weight:normal;"><?php _e('More information...'); ?></a></p> 
    8888        <p><?php _e('After installing and enabling it, most of the WordPress images, scripts and CSS files will be stored on this computer. This will speed up page loading.'); ?></p> 
    8989        <p><strong><?php _e('Please make sure you are not using a public or shared computer.'); ?></strong></p> 
     
    9292        </div> 
    9393 
    9494        <div id="gears-msg2" style="display:none;"> 
    95         <h3 class="info-box-title"><?php _e('Google Gears Status'); ?></h3> 
    96         <p><?php _e('Google Gears is installed on this computer but is not enabled for use with WordPress.'); ?></p>  
    97         <p><?php _e('To enable it, make sure this web site is not on the denied list in Google Gears Settings under your browser\'s Tools menu, then click the button below.'); ?></p> 
    98         <p><strong><?php _e('However if this is a public or shared computer, Google Gears should not be enabled.'); ?></strong></p> 
    99         <div class="submit"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Google Gears'); ?></button> 
     95        <h3 class="info-box-title"><?php _e('Gears Status'); ?></h3> 
     96        <p><?php _e('Gears is installed on this computer but is not enabled for use with WordPress.'); ?></p>  
     97        <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> 
     98        <p><strong><?php _e('However if this is a public or shared computer, Gears should not be enabled.'); ?></strong></p> 
     99        <div class="submit"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button> 
    100100        <button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';">Cancel</button></div> 
    101101        </div> 
    102102 
    103103        <div id="gears-msg3" style="display:none;"> 
    104         <h3 class="info-box-title"><?php _e('Google Gears Status'); ?></h3> 
    105         <p><?php _e('Google Gears is installed and enabled on this computer. You can disable it from your browser Tools menu.'); ?></p> 
     104        <h3 class="info-box-title"><?php _e('Gears Status'); ?></h3> 
     105        <p><?php _e('Gears is installed and enabled on this computer. You can disable it from your browser Tools menu.'); ?></p> 
    106106        <p><?php _e('If there are any errors, try disabling Gears, then reload the page and enable it again.'); ?></p> 
    107107        <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> 
    108108        <div class="submit"><button class="button" onclick="document.getElementById('gears-info-box').style.display='none';"><?php _e('Close'); ?></button></div>