aboutsummaryrefslogtreecommitdiffstats
path: root/year.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2007-05-19 03:55:35 +0000
committerJim Hu <jimhu@users.sourceforge.net>2007-05-19 03:55:35 +0000
commitd2594889e58f17893f8a7dc4477b1723a6faf391 (patch)
treed35c880fe2db5969db51460724e59de26a04891f /year.php
parent0e3577ab1dad13f7e91dff32fc6134a329805dbe (diff)
downloadphpicalendar-d2594889e58f17893f8a7dc4477b1723a6faf391.tar.gz
phpicalendar-d2594889e58f17893f8a7dc4477b1723a6faf391.tar.bz2
phpicalendar-d2594889e58f17893f8a7dc4477b1723a6faf391.zip
fix bug 1632649 year display options
Diffstat (limited to 'year.php')
-rw-r--r--year.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/year.php b/year.php
index a30ac89..1eff2bc 100644
--- a/year.php
+++ b/year.php
@@ -113,6 +113,12 @@ $page->replace_tags(array(
));
+if ($allow_preferences != 'yes') {
+ $page->replace_tags(array(
+ 'allow_preferences' => ''
+ ));
+}
+
if ($allow_login == 'yes') {
$page->replace_tags(array(
'l_invalid_login' => $lang['l_invalid_login'],
@@ -122,6 +128,9 @@ if ($allow_login == 'yes') {
'l_logout' => $lang['l_logout']
));
}
+if ($show_search != 'yes') {
+ $page->nosearch($page);
+}
$page->tomorrows_events($page);
$page->get_vtodo($page);

© 2014-2024 Faster IT GmbH | imprint | privacy policy