"calendar", "enable_calendar_class" => True, "enable_nextmatchs_class" => True, "noheader" => True, "nonavbar" => True, "nocalendarheader" => True, "nocalendarfooter" => True); include("../header.inc.php"); if ($submit) { $phpgw->preferences->preferences_delete("byapp",$phpgw_info["user"]["account_id"],"calendar"); $phpgw->preferences->preferences_delete("byappvar",$phpgw_info["user"]["account_id"],"common|defaultcalendar"); $phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"weekdaystarts","calendar"); $phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"workdaystarts","calendar"); $phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"workdayends","calendar"); $phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"defaultcalendar","common"); if ($mainscreen_showevents) { $phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"mainscreen_showevents","calendar"); } Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/preferences/index.php")); exit; } $phpgw->common->phpgw_header(); $phpgw->common->navbar(); if ($totalerrors) { echo "
" . lang("Calendar preferences") . ":" . "
"; ?>