aboutsummaryrefslogtreecommitdiffstats
path: root/year.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-12 06:22:57 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-12 06:22:57 +0000
commitf624f9143722a6e32f702f6e75f24ae457f85d8c (patch)
tree01632d35bb38e6602e5a4ecd00bebe2fb45855a6 /year.php
parent2fb022abbfa5eeac033992841ca11d9642bc4508 (diff)
downloadphpicalendar-f624f9143722a6e32f702f6e75f24ae457f85d8c.tar.gz
phpicalendar-f624f9143722a6e32f702f6e75f24ae457f85d8c.tar.bz2
phpicalendar-f624f9143722a6e32f702f6e75f24ae457f85d8c.zip
misc changes for new config model
Diffstat (limited to 'year.php')
-rw-r--r--year.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/year.php b/year.php
index 22a47ba..f795efe 100644
--- a/year.php
+++ b/year.php
@@ -112,13 +112,13 @@ $page->replace_tags(array(
));
-if ($allow_preferences != 'yes') {
+if ($phpiCal_config->allow_preferences != 'yes') {
$page->replace_tags(array(
'allow_preferences' => ''
));
}
-if ($allow_login == 'yes') {
+if ($phpiCal_config->allow_login == 'yes') {
$page->replace_tags(array(
'l_invalid_login' => $lang['l_invalid_login'],
'l_password' => $lang['l_password'],

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