Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26890/phpicalendar/functions
Modified Files:
template.php
Log Message:
fix missing quote mark
Index: template.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/template.php,v
retrieving revision 1.85
retrieving revision 1.86
diff -C2 -d -r1.85 -r1.86
*** template.php 10 Apr 2006 01:10:40 -0000 1.85
--- template.php 14 Aug 2006 05:57:32 -0000 1.86
***************
*** 1102,1114 ****
foreach ($match[1] as $key => $val) {
if ($match[1][$i] == 'SMALL') {
! $template_file = $this->parse('templates/'.$template.'/month_small.tpl');
$type = 'small';
$offset = $match[2][$i].$match[3][$i];
} elseif ($match[1][$i] == 'MEDIUM') {
! $template_file = $this->parse('templates/'.$template.'/month_medium.tpl');
$type = 'medium';
$offset = $match[3][$i];
} else {
! $template_file = $this->parse('templates/'.$template.'/month_large.tpl');
$type = 'large';
$offset = $match[2][$i].$match[3][$i];
--- 1102,1114 ----
foreach ($match[1] as $key => $val) {
if ($match[1][$i] == 'SMALL') {
! $template_file = $this->parse(BASE.'templates/'.$template.'/month_small.tpl');
$type = 'small';
$offset = $match[2][$i].$match[3][$i];
} elseif ($match[1][$i] == 'MEDIUM') {
! $template_file = $this->parse(BASE.'templates/'.$template.'/month_medium.tpl');
$type = 'medium';
$offset = $match[3][$i];
} else {
! $template_file = $this->parse(BASE.'templates/'.$template.'/month_large.tpl');
$type = 'large';
$offset = $match[2][$i].$match[3][$i];
|