Changeset 7883 for trunk/wp-admin/options-general.php
- Timestamp:
- 05/04/2008 10:37:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-general.php
r7498 r7883 14 14 <table class="form-table"> 15 15 <tr valign="top"> 16 <th scope="row">< ?php _e('Blog Title') ?></th>16 <th scope="row"><label for="blogname"><?php _e('Blog Title') ?></label></th> 17 17 <td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" size="40" /></td> 18 18 </tr> 19 19 <tr valign="top"> 20 <th scope="row">< ?php _e('Tagline') ?></th>20 <th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th> 21 21 <td><input name="blogdescription" type="text" id="blogdescription" style="width: 95%" value="<?php form_option('blogdescription'); ?>" size="45" /> 22 22 <br /> … … 24 24 </tr> 25 25 <tr valign="top"> 26 <th scope="row">< ?php _e('WordPress address (URL)') ?></th>26 <th scope="row"><label for="siteurl"><?php _e('WordPress address (URL)') ?></label></th> 27 27 <td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>" size="40" class="code<?php if ( defined( 'WP_SITEURL' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /></td> 28 28 </tr> 29 29 <tr valign="top"> 30 <th scope="row">< ?php _e('Blog address (URL)') ?></th>30 <th scope="row"><label for="home"><?php _e('Blog address (URL)') ?></label></th> 31 31 <td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>" size="40" class="code<?php if ( defined( 'WP_HOME' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /><br /><?php _e('Enter the address here if you want your blog homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></td> 32 32 </tr> 33 33 <tr valign="top"> 34 <th scope="row">< ?php _e('E-mail address') ?></th>34 <th scope="row"><label for="admin_email"><?php _e('E-mail address') ?> </label></th> 35 35 <td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" size="40" class="code" /> 36 36 <br /> … … 39 39 <tr valign="top"> 40 40 <th scope="row"><?php _e('Membership') ?></th> 41 <td> < label for="users_can_register">41 <td> <fieldset><legend class="hidden"><?php _e('Membership') ?></legend><label for="users_can_register"> 42 42 <input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> /> 43 43 <?php _e('Anyone can register') ?></label><br /> … … 46 46 <?php _e('Users must be registered and logged in to comment') ?> 47 47 </label> 48 </ td>48 </fieldset></td> 49 49 </tr> 50 50 <tr valign="top"> 51 <th scope="row">< ?php _e('New User Default Role') ?></th>52 <td> <label for="default_role">53 <select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select> </label>51 <th scope="row"><label for="default_role"><?php _e('New User Default Role') ?></label></th> 52 <td> 53 <select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select> 54 54 </td> 55 55 </tr> 56 56 <tr> 57 <th scope="row">< ?php _e('Timezone') ?></th>57 <th scope="row"><label for="gmt_offset"><?php _e('Timezone') ?> </label></th> 58 58 <td> 59 <select name="gmt_offset" >59 <select name="gmt_offset" id="gmt_offset"> 60 60 <?php 61 61 $current_offset = get_option('gmt_offset'); … … 88 88 </tr> 89 89 <tr> 90 <th scope="row">< ?php _e('Date Format') ?></th>90 <th scope="row"><label for="date_format"><?php _e('Date Format') ?></label></th> 91 91 <td><input name="date_format" type="text" id="date_format" size="30" value="<?php form_option('date_format'); ?>" /><br /> 92 92 <?php _e('Output:') ?> <strong><?php echo mysql2date(get_option('date_format'), current_time('mysql')); ?></strong></td> 93 93 </tr> 94 94 <tr> 95 <th scope="row">< ?php _e('Time Format') ?></th>95 <th scope="row"><label for="time_format"><?php _e('Time Format') ?></label></th> 96 96 <td><input name="time_format" type="text" id="time_format" size="30" value="<?php form_option('time_format'); ?>" /><br /> 97 97 <?php _e('Output:') ?> <strong><?php echo gmdate(get_option('time_format'), current_time('timestamp')); ?></strong><br /> … … 99 99 </tr> 100 100 <tr> 101 <th scope="row">< ?php _e('Week Starts On') ?></th>101 <th scope="row"><label for="start_of_week"><?php _e('Week Starts On') ?></label></th> 102 102 <td><select name="start_of_week" id="start_of_week"> 103 103 <?php
Note: See TracChangeset
for help on using the changeset viewer.