diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-10-25 17:43:31 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-10-25 17:43:31 +0000 |
commit | 1d368f67ef0d6112e68ca0cd6f0fc28b7fe9b006 (patch) | |
tree | cfdf41c570473545dd44f0f4350a1fbd615e79d4 /functions | |
parent | b920d2d487e2e92232f046e440d5d2f88b65a7da (diff) | |
download | phpicalendar-1d368f67ef0d6112e68ca0cd6f0fc28b7fe9b006.tar.gz phpicalendar-1d368f67ef0d6112e68ca0cd6f0fc28b7fe9b006.tar.bz2 phpicalendar-1d368f67ef0d6112e68ca0cd6f0fc28b7fe9b006.zip |
Fixed display month bottom.
Diffstat (limited to 'functions')
-rw-r--r-- | functions/template.php | 4 |
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); |