diff options
author | Chad Little <clittle@users.sourceforge.net> | 2005-09-14 20:53:52 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2005-09-14 20:53:52 +0000 |
commit | 4edff402a5ce3b87b8ad2f6590f2636b44376488 (patch) | |
tree | afc7f03c6c817c96c2b5a00588276dc73fdc7a2d /functions/template.php | |
parent | deac2b72545c65c85c8c81f09eaba7e06e8ac201 (diff) | |
download | phpicalendar-4edff402a5ce3b87b8ad2f6590f2636b44376488.tar.gz phpicalendar-4edff402a5ce3b87b8ad2f6590f2636b44376488.tar.bz2 phpicalendar-4edff402a5ce3b87b8ad2f6590f2636b44376488.zip |
Search box can be unconfigured.
Diffstat (limited to 'functions/template.php')
-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 6ecae12..2b59381 100644 --- a/functions/template.php +++ b/functions/template.php @@ -962,6 +962,10 @@ class Page { function nomonthbottom() { $this->page = preg_replace('!<\!-- switch showbottom on -->(.*)<\!-- switch showbottom off -->!is','', $this->page); } + + function nosearch() { + $this->page = preg_replace('!<\!-- switch show_search on -->(.*)<\!-- switch show_search off -->!is','', $this->page); + } function monthbottom() { global $template, $getdate, $master_array, $this_year, $this_month, $cal, $timeFormat, $timeFormat_small, $dateFormat_week_list, $lang; |