diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-06-13 17:21:00 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-06-13 17:21:00 +0000 |
commit | 12de05107e4c8b006bde6ee8916f34eb476d08da (patch) | |
tree | 123ee54ecd1f3f777373b7df54a4604012d43640 /wp-admin/options-general.php | |
parent | e51c7a9ca4bfdb45fa3ec7334bd33871e78c68b1 (diff) | |
download | wordpress-mu-12de05107e4c8b006bde6ee8916f34eb476d08da.tar.gz wordpress-mu-12de05107e4c8b006bde6ee8916f34eb476d08da.tar.xz wordpress-mu-12de05107e4c8b006bde6ee8916f34eb476d08da.zip |
WP Merge with revision 8075
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1328 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/options-general.php')
-rw-r--r-- | wp-admin/options-general.php | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 8fdf3ef..d37bcee 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -14,33 +14,35 @@ include('./admin-header.php'); <input type='hidden' name='option_page' value='general' /> <table class="form-table"> <tr valign="top"> -<th scope="row"><?php _e('Blog Title') ?></th> +<th scope="row"><label for="blogname"><?php _e('Blog Title') ?></label></th> <td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" size="40" /></td> </tr> <tr valign="top"> -<th scope="row"><?php _e('Tagline') ?></th> +<th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th> <td><input name="blogdescription" type="text" id="blogdescription" style="width: 95%" value="<?php form_option('blogdescription'); ?>" size="45" /> <br /> <?php _e('In a few words, explain what this blog is about.') ?></td> </tr> <tr valign="top"> -<th scope="row"><?php _e('E-mail address') ?> </th> -<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" size="40" class="code" /> +<tr valign="top"> +<th scope="row"><label for="admin_email"><?php _e('E-mail address') ?> </label></th> +<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" size="40" class="code" /> <br /> -<?php _e('This address is used only for admin purposes.') ?> <?php _e('If you change this we will send you an email at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></td> +<?php _e('This address is used for admin purposes.') ?> <?php _e('If you change this we will send you an email at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></td> </tr> <tr valign="top"> <th scope="row"><?php _e('Membership') ?></th> -<td> <label for="comment_registration"> -<input name="comment_registration" type="checkbox" id="comment_registration" value="1" <?php checked('1', get_option('comment_registration')); ?> /> +<td> +<label for="comment_registration"> +<input name="comment_registration" type="checkbox" id="comment_registration" value="1" <?php checked('1', get_option('comment_registration')); ?> /> <?php _e('Users must be registered and logged in to comment') ?> </label> </td> </tr> <tr> -<th scope="row"><?php _e('Timezone') ?> </th> +<th scope="row"><label for="gmt_offset"><?php _e('Timezone') ?> </label></th> <td> -<select name="gmt_offset"> +<select name="gmt_offset" id="gmt_offset"> <?php $current_offset = get_option('gmt_offset'); $offset_range = array (-12, -11.5, -11, -10.5, -10, -9.5, -9, -8.5, -8, -7.5, -7, -6.5, -6, -5.5, -5, -4.5, -4, -3.5, -3, -2.5, -2, -1.5, -1, -0.5, @@ -66,22 +68,23 @@ foreach ( $offset_range as $offset ) { </select> <?php _e('hours') ?><br /> <?php printf(__('<abbr title="Coordinated Universal Time">UTC</abbr> time is <code>%s</code>'), gmdate(__('Y-m-d G:i:s'))); ?><br /> -<?php if ($current_offset) printf(__('UTC %1$s is <code>%2$s</code>'), $current_offset_name, gmdate(__('Y-m-d G:i:s'), current_time('timestamp'))); ?> +<?php if ($current_offset) printf(__('UTC %1$s is <code>%2$s</code>'), $current_offset_name, gmdate(__('Y-m-d G:i:s'), current_time('timestamp'))); ?><br /> +<?php _e('Unfortunately, you have to manually update this for Daylight Savings Time.'); ?> </td> </tr> <tr> -<th scope="row"><?php _e('Date Format') ?></th> +<th scope="row"><label for="date_format"><?php _e('Date Format') ?></label></th> <td><input name="date_format" type="text" id="date_format" size="30" value="<?php form_option('date_format'); ?>" /><br /> <?php _e('Output:') ?> <strong><?php echo mysql2date(get_option('date_format'), current_time('mysql')); ?></strong></td> </tr> <tr> -<th scope="row"><?php _e('Time Format') ?></th> +<th scope="row"><label for="time_format"><?php _e('Time Format') ?></label></th> <td><input name="time_format" type="text" id="time_format" size="30" value="<?php form_option('time_format'); ?>" /><br /> <?php _e('Output:') ?> <strong><?php echo gmdate(get_option('time_format'), current_time('timestamp')); ?></strong><br /> <?php _e('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click "Save Changes" to update sample output.') ?></td> </tr> <tr> -<th scope="row"><?php _e('Week Starts On') ?></th> +<th scope="row"><label for="start_of_week"><?php _e('Week Starts On') ?></label></th> <td><select name="start_of_week" id="start_of_week"> <?php for ($day_index = 0; $day_index <= 6; $day_index++) : |