mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
fixes to defaultcalendar usage
This commit is contained in:
parent
d364cb446a
commit
3353064e3b
@ -16,7 +16,7 @@
|
||||
$pref->change("calendar","weekstarts","Monday");
|
||||
$pref->change("calendar","workdaystarts","9");
|
||||
$pref->change("calendar","workdayends","17");
|
||||
$pref->change("calendar","defaultcalendar","index.php");
|
||||
$pref->change("calendar","defaultcalendar","month.php");
|
||||
$pref->change("calendar","defaultfilter","all");
|
||||
$pref->change("calendar","mainscreen_showevents","Y");
|
||||
?>
|
||||
|
@ -22,6 +22,9 @@
|
||||
$phpgw_info["flags"]["nofooter"] = True;
|
||||
include("../header.inc.php");
|
||||
|
||||
Header("Location: ".$phpgw_info["user"]["preferences"]["calendar"]["defaultcalendar"]."?".$QUERY_STRING);
|
||||
$newpage = $phpgw_info["user"]["preferences"]["calendar"]["defaultcalendar"];
|
||||
if ($namepage=="index.php") $newpage = "month.php";
|
||||
|
||||
Header("Location: ".$newpage."?".$QUERY_STRING);
|
||||
$phpgw->common->phpgw_exit();
|
||||
?>
|
||||
|
@ -115,7 +115,7 @@
|
||||
}
|
||||
?>
|
||||
<option value="year.php"<?php echo $selected["year.php"] . ">" . lang("Yearly"); ?></option>
|
||||
<option value="index.php"<?php echo $selected["month.php"] . ">" . lang("Monthly"); ?></option>
|
||||
<option value="month.php"<?php echo $selected["month.php"] . ">" . lang("Monthly"); ?></option>
|
||||
<option value="week.php"<?php echo $selected["week.php"] . ">" . lang("Weekly"); ?></option>
|
||||
<option value="day.php"<?php echo $selected["day.php"] . ">" . lang("Daily"); ?></option>
|
||||
</select>
|
||||
|
Loading…
Reference in New Issue
Block a user