aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-10-25 17:43:31 +0000
committerChad Little <clittle@users.sourceforge.net>2004-10-25 17:43:31 +0000
commit1d368f67ef0d6112e68ca0cd6f0fc28b7fe9b006 (patch)
treecfdf41c570473545dd44f0f4350a1fbd615e79d4 /functions
parentb920d2d487e2e92232f046e440d5d2f88b65a7da (diff)
downloadphpicalendar-1d368f67ef0d6112e68ca0cd6f0fc28b7fe9b006.tar.gz
phpicalendar-1d368f67ef0d6112e68ca0cd6f0fc28b7fe9b006.tar.bz2
phpicalendar-1d368f67ef0d6112e68ca0cd6f0fc28b7fe9b006.zip
Fixed display month bottom.
Diffstat (limited to 'functions')
-rw-r--r--functions/template.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions/template.php b/functions/template.php
index e9595d1..c3aac5a 100644
--- a/functions/template.php
+++ b/functions/template.php
@@ -829,6 +829,10 @@ class Page {
return $return;
}
+ function nomonthbottom() {
+ $this->page = preg_replace('!<\!-- switch showbottom on -->(.*)<\!-- switch showbottom off -->!is','', $this->page);
+ }
+
function monthbottom() {
global $template, $getdate, $master_array, $this_year, $this_month, $cal, $timeFormat, $timeFormat_small, $dateFormat_week_list, $lang;
preg_match("!<\!-- loop showbottomevents_odd on -->(.*)<\!-- loop showbottomevents_odd off -->!is", $this->page, $match1);

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