<?php
_e( 'Week Starts On'
); ?></label></th>
<td><select name="start_of_week" id="start_of_week">
<?php
/**
* @global WP_Locale $wp_locale WordPress date and time locale object.
*/
global $wp_locale;
for ( $day_index = 0;
$day_index <= 6;
$day_index++
) :
$selected =
( get_option( 'start_of_week'
) ==
$day_index ) ? 'selected="selected"' : '';
echo "\n\t<option value='" .
esc_attr( $day_index ) . "'
$selected>" .
$wp_locale->
get_weekday( $day_index ) . '</option>';
endfor;
?>
</select></td>
</tr>
<?php
do_settings_fields( 'general', 'default'
); ?>
</table>
<?php
do_settings_sections( 'general'
); ?>
<?php
submit_button(); ?>
</form>
</div>