X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/8a06f4f9392d1ac373442f82ee40428a3cb81395..672d6bc6da735e745275ef7a86341dc1178da8d2:/wp-admin/options-general.php diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index aec47d05..def21249 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -1,50 +1,94 @@ + +
-

+ +

+
- + + - + - + - + - + - + - @@ -54,6 +98,9 @@ include('./admin-header.php'); + += 0) ? '+' : '') . $offnum; } ?> + + + + - - + + - - + + @@ -103,16 +263,18 @@ foreach ( $offset_range as $offset ) { " . $wp_locale->get_weekday($day_index) . ''; + echo "\n\t'; endfor; ?> +
-
-
+
" />" />
" />
to be different from the directory you installed WordPress.'); ?>
" /> +to be different from the directory you installed WordPress.'); ?>
-
-
+

- +
+ +UTC time is %s'), date_i18n( $time_format, false, 'gmt')); ?> + + %2$s'), $current_offset_name, date_i18n($time_format)); ?> + +
+ +
+ + -
-UTC time is %s'), gmdate(__('Y-m-d G:i:s'))); ?>
-%2$s'), $current_offset_name, gmdate(__('Y-m-d G:i:s'), current_time('timestamp'))); ?>
- + + UTC time is %s'), date_i18n($timezone_format, false, 'gmt')); ?> + + %1$s'), date_i18n($timezone_format)); ?> + +
+ +
+ + + +
+ time()) { + $found = true; + break; + } + } + + if ( isset($found) && $found === true ) { + echo ' '; + $message = $tr['isdst'] ? + __('Daylight savings time begins on: %s.') : + __('Standard time begins on: %s.'); + printf( $message, date_i18n(get_option('date_format').' '.get_option('time_format'), $tr['ts'] ) ); + } else { + _e('This timezone does not observe daylight savings time.'); + } + } + ?> +
+

-
+
+ ' . date_i18n( $format ) . "
\n"; + } + + echo ' ' . date_i18n( get_option('date_format') ) . "\n"; + + echo "\t

" . __('Documentation on date formatting. Click “Save Changes” to update sample output.') . "

\n"; +?> +
+

-
-Documentation on date formatting. Click "Save Changes" to update sample output.') ?>
+
+ ' . date_i18n( $format ) . "
\n"; + } + + echo ' ' . date_i18n( get_option('time_format') ) . "\n"; +?> +
+
-

- - + + +

+