Changeset 4144 for trunk/wp-admin/options-general.php
- Timestamp:
- 08/30/2006 09:46:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-general.php
r4133 r4144 40 40 <th scope="row"><?php _e('Membership:') ?></th> 41 41 <td> <label for="users_can_register"> 42 <input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_ settings('users_can_register')); ?> />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 /> 44 44 <label for="comment_registration"> 45 <input name="comment_registration" type="checkbox" id="comment_registration" value="1" <?php checked('1', get_ settings('comment_registration')); ?> />45 <input name="comment_registration" type="checkbox" id="comment_registration" value="1" <?php checked('1', get_option('comment_registration')); ?> /> 46 46 <?php _e('Users must be registered and logged in to comment') ?> 47 47 </label> … … 51 51 <th scope="row"><?php _e('New User Default Role:') ?></th> 52 52 <td><label for="default_role"> 53 <select name="default_role" id="default_role"><?php wp_dropdown_roles( get_ settings('default_role') ); ?></select></label>53 <select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select></label> 54 54 </td> 55 55 </tr> … … 70 70 <th scope="row"><?php _e('Default date format:') ?></th> 71 71 <td><input name="date_format" type="text" id="date_format" size="30" value="<?php form_option('date_format'); ?>" /><br /> 72 <?php _e('Output:') ?> <strong><?php echo mysql2date(get_ settings('date_format'), current_time('mysql')); ?></strong></td>72 <?php _e('Output:') ?> <strong><?php echo mysql2date(get_option('date_format'), current_time('mysql')); ?></strong></td> 73 73 </tr> 74 74 <tr> 75 75 <th scope="row"><?php _e('Default time format:') ?></th> 76 76 <td><input name="time_format" type="text" id="time_format" size="30" value="<?php form_option('time_format'); ?>" /><br /> 77 <?php _e('Output:') ?> <strong><?php echo gmdate(get_ settings('time_format'), current_time('timestamp')); ?></strong></td>77 <?php _e('Output:') ?> <strong><?php echo gmdate(get_option('time_format'), current_time('timestamp')); ?></strong></td> 78 78 </tr> 79 79 <tr> … … 86 86 <?php 87 87 for ($day_index = 0; $day_index <= 6; $day_index++) : 88 $selected = (get_ settings('start_of_week') == $day_index) ? 'selected="selected"' : '';88 $selected = (get_option('start_of_week') == $day_index) ? 'selected="selected"' : ''; 89 89 echo "\n\t<option value='$day_index' $selected>" . $wp_locale->get_weekday($day_index) . '</option>'; 90 90 endfor;
Note: See TracChangeset
for help on using the changeset viewer.