Changeset 8620 for branches/crazyhorse/wp-admin/admin-header.php
- Timestamp:
- 08/11/2008 10:52:43 PM (18 years ago)
- File:
-
- 1 edited
-
branches/crazyhorse/wp-admin/admin-header.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/crazyhorse/wp-admin/admin-header.php
r8379 r8620 1 1 <?php 2 /** 3 * WordPress Administration Template Header 4 * 5 * @package WordPress 6 * @subpackage Administration 7 */ 8 2 9 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 3 10 if (!isset($_GET["page"])) require_once('admin.php'); … … 74 81 75 82 <?php 76 $gears_compat = false; 77 78 if ( ($is_gecko || $is_winIE) && strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'webkit') === false ) { 79 $gears_compat = true; 83 if ( ! $is_opera ) { 80 84 ?> 81 85 <div id="gears-info-box" class="info-box" style="display:none;"> … … 92 96 <div id="gears-msg2" style="display:none;"> 93 97 <h3 class="info-box-title"><?php _e('Gears Status'); ?></h3> 94 <p><?php _e('Gears is installed on this computer but is not enabled for use with WordPress.'); ?></p> 95 <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><?php _e('Gears is installed on this computer but is not enabled for use with WordPress.'); ?></p> 99 <p><?php 100 101 if ( $is_safari ) 102 _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.'); 103 else 104 _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.'); 105 106 ?></p> 96 107 <p><strong><?php _e('However if this is a public or shared computer, Gears should not be enabled.'); ?></strong></p> 97 108 <div class="submit"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button> … … 101 112 <div id="gears-msg3" style="display:none;"> 102 113 <h3 class="info-box-title"><?php _e('Gears Status'); ?></h3> 103 <p><?php _e('Gears is installed and enabled on this computer. You can disable it from your browser Tools menu.'); ?></p> 114 <p><?php 115 116 if ( $is_safari ) 117 _e('Gears is installed and enabled on this computer. You can disable it from the Safari menu.'); 118 else 119 _e('Gears is installed and enabled on this computer. You can disable it from your browser Tools menu.'); 120 121 ?></p> 104 122 <p><?php _e('If there are any errors, try disabling Gears, then reload the page and enable it again.'); ?></p> 105 123 <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> … … 107 125 </div> 108 126 </div> 109 110 127 <?php } ?> 111 128 129 <<<<<<< .working 112 130 <div id="user_info"><p> 113 131 <?php printf(__('Howdy, <a href="%1$s">%2$s</a>!'), 'profile.php', $user_identity) ?> | … … 115 133 <?php if ( $gears_compat ) { ?>| <span id="gears-menu"><a href="#" onclick="wpGears.message(1);return false;"><?php _e('Turbo') ?></a></span><?php } ?> 116 134 </p></div> 135 ======= 136 <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> 137 >>>>>>> .merge-right.r8619 117 138 118 139 <?php
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)