aboutsummaryrefslogtreecommitdiffstats
path: root/month.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-08-11 23:49:12 +0000
committerChad Little <clittle@users.sourceforge.net>2004-08-11 23:49:12 +0000
commitca2d5ebf3e4f0adc61cb7a546b46241e2fa4fbe5 (patch)
treef1f98d1b7cccd50b0f5645af139f7688cfdc7029 /month.php
parent1ff107c46e8e493f006c9ad8f2af7628d6581eeb (diff)
downloadphpicalendar-ca2d5ebf3e4f0adc61cb7a546b46241e2fa4fbe5.tar.gz
phpicalendar-ca2d5ebf3e4f0adc61cb7a546b46241e2fa4fbe5.tar.bz2
phpicalendar-ca2d5ebf3e4f0adc61cb7a546b46241e2fa4fbe5.zip
Added login langs to week and month, a fix for evolution.
Diffstat (limited to 'month.php')
-rw-r--r--month.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/month.php b/month.php
index 45b15ea..432db57 100644
--- a/month.php
+++ b/month.php
@@ -94,7 +94,20 @@ $page->replace_tags(array(
'l_this_site_is' => $lang['l_this_site_is']
));
-$page->monthbottom($this->page);
+if ($allow_login == 'yes') {
+ $page->replace_tags(array(
+ 'l_invalid_login' => $lang['l_invalid_login'],
+ 'l_password' => $lang['l_password'],
+ 'l_username' => $lang['l_username'],
+ 'l_login' => $lang['l_login'],
+ 'l_logout' => $lang['l_logout']
+ ));
+}
+
+
+if ($this_months_events == 'yes') {
+ $page->monthbottom($this->page);
+}
$page->draw_subscribe($this->page);
$page->output();

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