"calendar", "enable_nextmatchs_class" => True, "noheader" => True, "nonavbar" => True, "noappheader" => True, "noappfooter" => True); include("../header.inc.php"); if ($submit) { $phpgw->preferences->change("calendar","weekdaystarts"); $phpgw->preferences->change("calendar","workdaystarts"); $phpgw->preferences->change("calendar","workdayends"); $phpgw->preferences->change("calendar","defaultcalendar"); $phpgw->preferences->change("calendar","defaultfilter"); if ($mainscreen_showevents) { $phpgw->preferences->change("calendar","mainscreen_showevents"); } else { $phpgw->preferences->delete("calendar","mainscreen_showevents"); } $phpgw->preferences->commit(); Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/preferences/index.php")); $phpgw->common->phpgw_exit(); } $phpgw->common->phpgw_header(); $phpgw->common->navbar(); if ($totalerrors) { echo "
" . lang("Calendar preferences") . ":" . "
"; ?>