Update of /cvsroot/phpicalendar/phpicalendar
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22056/phpicalendar
Modified Files:
year.php
Log Message:
fix bug 1632649 year display options
Index: year.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/year.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** year.php 10 Apr 2006 02:21:07 -0000 1.44
--- year.php 19 May 2007 03:55:35 -0000 1.45
***************
*** 114,117 ****
--- 114,123 ----
));
+ if ($allow_preferences != 'yes') {
+ $page->replace_tags(array(
+ 'allow_preferences' => ''
+ ));
+ }
+
if ($allow_login == 'yes') {
$page->replace_tags(array(
***************
*** 123,126 ****
--- 129,135 ----
));
}
+ if ($show_search != 'yes') {
+ $page->nosearch($page);
+ }
$page->tomorrows_events($page);
|