- 8C5D968FEE3A814B231FAAA3A93D6585D01EA66B4DB949BDF6831B51DB5FB2B7C1E6749CBF2D4A9FA926384B5D125C8A739F8B9617014506BF56FBFC2F169D11
+ 6662F4E73224D9C0BFF37B298D074B232AED9CECB2F3798AF25CBE158EF9C4DDE079DF09FCAD771676FD6C6CFEC56CDD4BF014788912D97CAEDC09661C3D888B
mp-wp/wp-admin/tools.php
(10 . 7)(10 . 6)
9092 require_once('admin.php');
9093
9094 $title = __('Tools');
9095 wp_enqueue_script( 'wp-gears' );
9096
9097 require_once('admin-header.php');
9098
(19 . 74)(18 . 6)
9100 <div class="wrap">
9101 <h2><?php echo wp_specialchars( $title ); ?></h2>
9102
9103 <div class="tool-box">
9104 <?php
9105 if ( ! $is_opera ) {
9106 ?>
9107 <div id="gears-msg1">
9108 <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Speed up WordPress'); ?></h3>
9109 <p><?php _e('WordPress now has support for Gears, which adds new features to your web browser.'); ?><br />
9110 <a href="http://gears.google.com/" target="_blank" style="font-weight:normal;"><?php _e('More information...'); ?></a></p>
9111 <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>
9112 <p><strong><?php _e('Don’t install on a public or shared computer.'); ?></strong></p>
9113 <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>
9114 </div>
9115
9116 <div id="gears-msg2" style="display:none;">
9117 <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Gears Status'); ?></h3>
9118 <p><?php _e('Gears is installed on this computer, but is not enabled for use with WordPress.'); ?></p>
9119 <p><?php _e('To enable it click the button below.'); ?></p>
9120 <p><strong><?php _e('Note: Do not enable Gears if this is a public or shared computer!'); ?></strong></p>
9121 <div class="buttons"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button></div>
9122 </div>
9123
9124 <div id="gears-msg3" style="display:none;">
9125 <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Gears Status'); ?></h3>
9126 <p><?php
9127
9128 if ( $is_chrome )
9129 _e('Gears is installed and enabled on this computer. You can disable it from your browser’s Options, Under the Hood menu.');
9130 elseif ( $is_safari )
9131 _e('Gears is installed and enabled on this computer. You can disable it from the Safari menu.');
9132 else
9133 _e('Gears is installed and enabled on this computer. You can disable it from your browser’s Tools menu.');
9134
9135 ?></p>
9136 <p><?php _e('If there are any errors try disabling Gears, reloading the page, and re-enabling Gears.'); ?></p>
9137 <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>
9138 </div>
9139
9140 <div id="gears-msg4" style="display:none;">
9141 <h3 class="title"><?php _e('Turbo:'); ?> <?php _e('Gears Status'); ?></h3>
9142 <p><?php _e('Your browser’s settings do not permit this website to use Google Gears.'); ?></p>
9143 <p><?php
9144
9145 if ( $is_chrome )
9146 _e('To allow it, change the Gears settings in your browser’s Options, Under the Hood menu and reload this page.');
9147 elseif ( $is_safari )
9148 _e('To allow it, change the Gears settings in the Safari menu and reload this page.');
9149 else
9150 _e('To allow it, change the Gears settings in your browser’s Tools menu and reload this page.');
9151
9152 ?></p>
9153 <p><strong><?php _e('Note: Do not enable Gears if this is a public or shared computer!'); ?></strong></p>
9154 </div>
9155 <script type="text/javascript">wpGears.message();</script>
9156 <?php } else {
9157 _e('Turbo is not available for your browser.');
9158 } ?>
9159 </div>
9160
9161 <?php if ( current_user_can('publish_posts') ) : ?>
9162 <div class="tool-box">
9163 <h3 class="title"><?php _e('Press This') ?></h3>
9164 <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>
9165
9166 <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>
9167 <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>
9168 <p class="pressthis"><a href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
9169 </div>
9170 <?php endif; ?>
9171 </div>
9172 <?php
9173 include('admin-footer.php');