Changeset 9068
- Timestamp:
- 10/02/2008 05:24:20 PM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r9064 r9068 9 9 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 10 10 if (!isset($_GET["page"])) require_once('admin.php'); 11 wp_enqueue_script( 'wp-gears' );12 11 13 12 get_admin_page_title(); -
trunk/wp-admin/press-this-landing.php
r9043 r9068 15 15 ?> 16 16 17 <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><p><a href="<?php echo get_shortcut_link(); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p> 17 <div class="wrap"> 18 <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> 19 <p><a href="<?php echo get_shortcut_link(); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p> 20 </div> 18 21 19 22 <?php include('admin-footer.php'); ?> -
trunk/wp-admin/turbo.php
r9043 r9068 11 11 12 12 $title = __('Turbo'); 13 wp_enqueue_script( 'wp-gears' ); 13 14 14 15 require_once('admin-header.php'); … … 16 17 if ( ! $is_opera ) { 17 18 ?> 18 <div id="gears-info-box" class=" info-box" style="display:none;">19 <div id="gears-info-box" class="wrap"> 19 20 <img src="images/gear.png" title="Gear" alt="" class="gears-img" /> 20 21 <div id="gears-msg1"> … … 23 24 <a href="http://gears.google.com/" target="_blank" style="font-weight:normal;"><?php _e('More information...'); ?></a></p> 24 25 <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> 25 <p><strong><?php _e('Don’t install on a public or shared computer.'); ?></strong></p> <div class="submit"><button onclick="window.location = 'http://gears.google.com/?action=install&return=<?php echo urlencode( admin_url() ); ?>';" class="button"><?php _e('Install Now'); ?></button>26 < button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';"><?php _e('Cancel'); ?></button></div>26 <p><strong><?php _e('Don’t install on a public or shared computer.'); ?></strong></p> 27 <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> 27 28 </div> 28 29 … … 32 33 <p><?php _e('To enable it click the button below.'); ?></p> 33 34 <p><strong><?php _e('However, Gears should not be enabled if this is a public or shared computer.'); ?></strong></p> 34 <div class="submit"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button> 35 <button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';"><?php _e('Cancel'); ?></button></div> 35 <div class="buttons"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button></div> 36 36 </div> 37 37 -
trunk/wp-admin/wp-admin.css
r9063 r9068 1748 1748 } 1749 1749 1750 .info-box { 1751 top: 100px; 1752 left: 50%; 1753 margin-left: -225px; 1754 height: 300px; 1755 width: 450px; 1756 border: 5px solid #ddd; 1757 background: #f8f8f8; 1758 position: absolute; 1759 padding: 15px 15px 10px; 1760 z-index: 1000; 1761 display: none; 1762 } 1763 1764 .info-box .submit { 1765 position: absolute; 1766 bottom: 15px; 1767 width: 450px; 1768 padding: 15px 0 0; 1769 } 1770 1771 .info-box .gears-img { 1750 #gears-info-box { 1751 max-width: 700px; 1752 } 1753 1754 #gears-info-box .gears-img { 1772 1755 float: right; 1773 1756 margin: 10px; 1774 1757 } 1775 1758 1759 #gears-info-box .buttons { 1760 margin: 10px 0 0; 1761 padding: 1.5em 0 0; 1762 } 1763 1776 1764 .info-box-title { 1777 1765 line-height: 2; 1778 1766 margin: 0; 1779 1767 padding: 4px 8px; 1780 font: 18px Georgia, "Times New Roman", Times, serif;1768 font: 18px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;; 1781 1769 } 1782 1770
Note: See TracChangeset
for help on using the changeset viewer.