True, "nonavbar" => True, "currentapp" => "calendar", "nocalendarheader" => True, "nocalendarfooter" => True); include("../header.inc.php"); if ($submit) { $phpgw->common->preferences_delete("byapp",$phpgw_info["user"]["userid"],"calendar"); $phpgw->common->preferences_add($phpgw_info["user"]["userid"],"weekdaystarts","calendar"); $phpgw->common->preferences_add($phpgw_info["user"]["userid"],"workdaystarts","calendar"); $phpgw->common->preferences_add($phpgw_info["user"]["userid"],"workdayends","calendar"); if ($mainscreen_showevents) { $phpgw->common->preferences_add($phpgw_info["user"]["userid"],"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") . ":" . "
"; ?>