Changeset 804077
- Timestamp:
- 11/13/2013 11:17:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jetpack/trunk/modules/stats.php
r800497 r804077 342 342 if ( !isset( $_GET['noheader'] ) && empty( $_GET['nojs'] ) && empty( $_COOKIE['stnojs'] ) ) { 343 343 $nojs_url = add_query_arg( 'nojs', '1' ); 344 if ( 'classic' != $color = get_user_option( 'admin_color' ) ) {345 $color = 'fresh';346 }347 344 $http = is_ssl() ? 'https' : 'http'; 348 345 // Loading message … … 355 352 </style> 356 353 <div id="stats-loading-wrap" class="wrap"> 357 <p class="hide-if-no-js"><img class="wpcom-loading-64" alt="<?php esc_attr_e( 'Loading…', 'jetpack' ); ?>" src="<?php echo esc_url( "$http://" . STATS_DASHBOARD_SERVER . "/i/loading/$color-64.gif"); ?>" /></p>354 <p class="hide-if-no-js"><img class="wpcom-loading-64" alt="<?php esc_attr_e( 'Loading…', 'jetpack' ); ?>" src="<?php echo esc_url( ); ?>" /></p> 358 355 <p class="hide-if-js"><?php esc_html_e( 'Your Site Stats work better with Javascript enabled.', 'jetpack' ); ?><br /> 359 356 <a href="<?php echo esc_url( $nojs_url ); ?>"><?php esc_html_e( 'View Site Stats without Javascript', 'jetpack' ); ?></a>.</p>
Note: See TracChangeset
for help on using the changeset viewer.