Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22135/functions
Modified Files:
template.php
Log Message:
Month view works in print.
Index: template.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/template.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** template.php 23 May 2004 23:31:21 -0000 1.47
--- template.php 23 May 2004 23:54:42 -0000 1.48
***************
*** 19,24 ****
preg_match("!<\!-- loop events on -->(.*)<\!-- loop events off -->!is", $this->page, $match1);
preg_match("!<\!-- switch some_events on -->(.*)<\!-- loop events on -->!is", $this->page, $match3);
! $loop_event = trim($match1[1]);
! $loop_day = trim($match3[1]);
foreach($master_array as $key => $val) {
--- 19,25 ----
preg_match("!<\!-- loop events on -->(.*)<\!-- loop events off -->!is", $this->page, $match1);
preg_match("!<\!-- switch some_events on -->(.*)<\!-- loop events on -->!is", $this->page, $match3);
! $loop_event = trim($match1[1]);
! $loop_day = trim($match3[1]);
! $parse_month = date ("Ym", strtotime($getdate));
foreach($master_array as $key => $val) {
***************
*** 30,34 ****
$events_tmp = $loop_event;
$day_tmp = $loop_day;
- //echo $dayofmonth;
// Pull out each day
--- 31,34 ----
|