-
+ 8C5D968FEE3A814B231FAAA3A93D6585D01EA66B4DB949BDF6831B51DB5FB2B7C1E6749CBF2D4A9FA926384B5D125C8A739F8B9617014506BF56FBFC2F169D11
mp-wp/wp-admin/tools.php
(0 . 0)(1 . 93)
57893 <?php
57894 /**
57895 * Turbo Administration Panel.
57896 *
57897 * @package WordPress
57898 * @subpackage Administration
57899 */
57900
57901 /** WordPress Administration Bootstrap */
57902 require_once('admin.php');
57903
57904 $title = __('Tools');
57905 wp_enqueue_script( 'wp-gears' );
57906
57907 require_once('admin-header.php');
57908
57909 screen_icon();
57910 ?>
57911 <div class="wrap">
57912 <h2><?php echo wp_specialchars( $title ); ?></h2>
57913
57914 <div class="tool-box">
57915 <?php
57916 if ( ! $is_opera ) {
57917 ?>
57918 <div id="gears-msg1">
57919 <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Speed up WordPress'); ?></h3>
57920 <p><?php _e('WordPress now has support for Gears, which adds new features to your web browser.'); ?><br />
57921 <a href="http://gears.google.com/" target="_blank" style="font-weight:normal;"><?php _e('More information...'); ?></a></p>
57922 <p><?php _e('After you install and enable Gears, most of WordPress’ images, scripts, and CSS files will be stored locally on your computer. This speeds up page load time.'); ?></p>
57923 <p><strong><?php _e('Don’t install on a public or shared computer.'); ?></strong></p>
57924 <div class="buttons"><button onclick="window.location = 'http://gears.google.com/?action=install&return=<?php echo urlencode( admin_url() ); ?>';" class="button"><?php _e('Install Now'); ?></button></div>
57925 </div>
57926
57927 <div id="gears-msg2" style="display:none;">
57928 <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Gears Status'); ?></h3>
57929 <p><?php _e('Gears is installed on this computer, but is not enabled for use with WordPress.'); ?></p>
57930 <p><?php _e('To enable it click the button below.'); ?></p>
57931 <p><strong><?php _e('Note: Do not enable Gears if this is a public or shared computer!'); ?></strong></p>
57932 <div class="buttons"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button></div>
57933 </div>
57934
57935 <div id="gears-msg3" style="display:none;">
57936 <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Gears Status'); ?></h3>
57937 <p><?php
57938
57939 if ( $is_chrome )
57940 _e('Gears is installed and enabled on this computer. You can disable it from your browser’s Options, Under the Hood menu.');
57941 elseif ( $is_safari )
57942 _e('Gears is installed and enabled on this computer. You can disable it from the Safari menu.');
57943 else
57944 _e('Gears is installed and enabled on this computer. You can disable it from your browser’s Tools menu.');
57945
57946 ?></p>
57947 <p><?php _e('If there are any errors try disabling Gears, reloading the page, and re-enabling Gears.'); ?></p>
57948 <p><?php _e('Local storage status:'); ?> <span id="gears-wait"><span style="color:#f00;"><?php _e('Updating files:'); ?></span> <span id="gears-upd-number"></span></span></p>
57949 </div>
57950
57951 <div id="gears-msg4" style="display:none;">
57952 <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Gears Status'); ?></h3>
57953 <p><?php _e('Your browser’s settings do not permit this website to use Google Gears.'); ?></p>
57954 <p><?php
57955
57956 if ( $is_chrome )
57957 _e('To allow it, change the Gears settings in your browser’s Options, Under the Hood menu and reload this page.');
57958 elseif ( $is_safari )
57959 _e('To allow it, change the Gears settings in the Safari menu and reload this page.');
57960 else
57961 _e('To allow it, change the Gears settings in your browser’s Tools menu and reload this page.');
57962
57963 ?></p>
57964 <p><strong><?php _e('Note: Do not enable Gears if this is a public or shared computer!'); ?></strong></p>
57965 </div>
57966 <script type="text/javascript">wpGears.message();</script>
57967 <?php } else {
57968 _e('Turbo is not available for your browser.');
57969 } ?>
57970 </div>
57971
57972 <?php if ( current_user_can('publish_posts') ) : ?>
57973 <div class="tool-box">
57974 <h3 class="title"><?php _e('Press This') ?></h3>
57975 <p><?php _e('Press This is a bookmarklet: a little app that runs in your browser and lets you grab bits of the web.');?></p>
57976
57977 <p><?php _e('Use Press This to clip text, images and videos from any web page. Then edit and add more straight from Press This before you save or publish it in a post on your blog.'); ?></p>
57978 <p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p>
57979 <p class="pressthis"><a href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
57980 </div>
57981 <?php endif; ?>
57982 </div>
57983 <?php
57984 include('admin-footer.php');
57985 ?>