DST is out of the preferences entirely.

This commit is contained in:
defacer
2005-02-18 01:46:57 +00:00
parent 0bab403ceb
commit 7f92cbefbb
2 changed files with 0 additions and 9 deletions
-2
View File
@@ -1205,8 +1205,6 @@ function calendar_human_readable_dst($preset) {
$options->deactivate_month = date('F', mktime(0, 0, 0, $preset->deactivate_month, 1, 2000));
return get_string('dsthumanreadable', 'calendar', $options);
//print_string('dstonthe', 'calendar')
//return 'ID '.$preset->id.': DST is activated on the X of X.';
}
function calendar_print_month_selector($name, $selected) {
-7
View File
@@ -20,12 +20,6 @@
print_header();
foreach ($form as $preference => $value) {
switch ($preference) {
case 'dstpreset':
$value = intval($value);
if($value == 0 || get_record('dst_preset', 'id', $value)) {
set_user_preference('calendar_dstpreset', $value);
}
break;
case 'timeformat':
if ($value != CALENDAR_TF_12 and $value != CALENDAR_TF_24) {
$value = '';
@@ -79,7 +73,6 @@
print_simple_box_start("center");
$prefs->dstpreset = get_user_preferences('calendar_dstpreset', 0);
$prefs->timeformat = get_user_preferences('calendar_timeformat', '');
$prefs->startwday = get_user_preferences('calendar_startwday', CALENDAR_STARTING_WEEKDAY);
$prefs->maxevents = get_user_preferences('calendar_maxevents', CALENDAR_UPCOMING_MAXEVENTS);