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