Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28780/functions
Modified Files:
template.php
Log Message:
Fix for [ 999141 ] 2.0a year.php month parse error
Index: template.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/template.php,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** template.php 8 Aug 2004 05:55:18 -0000 1.50
--- template.php 13 Aug 2004 22:30:10 -0000 1.51
***************
*** 728,731 ****
--- 728,732 ----
$start_day = strtotime($week_start_day);
$month_title = localizeDate ($dateFormat_month, $fake_getdate_time);
+ $month_date = date ('Ymd', $fake_getdate_time);
if ($type == 'small') {
***************
*** 819,823 ****
if ($checkagain != $minical_month) $whole_month = FALSE;
}
! } while ($whole_month == TRUE);
$return = str_replace('<!-- loop weekday on -->'.$match1[1].'<!-- loop weekday off -->', $weekday_loop, $template_p);
--- 820,824 ----
if ($checkagain != $minical_month) $whole_month = FALSE;
}
! } while ($whole_month == TRUE);
$return = str_replace('<!-- loop weekday on -->'.$match1[1].'<!-- loop weekday off -->', $weekday_loop, $template_p);
***************
*** 825,828 ****
--- 826,830 ----
$return = str_replace('{MONTH_TITLE}', $month_title, $return);
$return = str_replace('{CAL}', $cal, $return);
+ $return = str_replace('{MONTH_DATE}', $month_date, $return);
return $return;
|