Changeset 3676 for trunk/wp-admin/options-general.php
- Timestamp:
- 04/02/2006 12:20:11 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-general.php
r3548 r3676 95 95 <?php 96 96 for ($day_index = 0; $day_index <= 6; $day_index++) : 97 if ($day_index == get_settings('start_of_week')) $selected = " selected='selected'"; 98 else $selected = ''; 99 echo "\n\t<option value='$day_index' $selected>$weekday[$day_index]</option>"; 97 $selected = (get_settings('start_of_week') == $day_index) ? 'selected="selected"' : ''; 98 echo "\n\t<option value='$day_index' $selected>" . $wp_locale->get_weekday($day_index) . '</option>'; 100 99 endfor; 101 100 ?>
Note: See TracChangeset
for help on using the changeset viewer.