From: <cl...@us...> - 2005-09-14 20:54:00
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30511/functions Modified Files: template.php Log Message: Search box can be unconfigured. Index: template.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/template.php,v retrieving revision 1.73 retrieving revision 1.74 diff -C2 -d -r1.73 -r1.74 *** template.php 7 Sep 2005 03:41:18 -0000 1.73 --- template.php 14 Sep 2005 20:53:53 -0000 1.74 *************** *** 963,966 **** --- 963,970 ---- $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() { |