From f4e6d9a4ccc056646f7fb69aa7ac2ba601610449 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Mon, 14 Aug 2006 05:57:32 +0000 Subject: fix missing quote mark --- functions/template.php | 6 +++--- rss/rss1.0.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/template.php b/functions/template.php index 95f4859..30c866c 100644 --- a/functions/template.php +++ b/functions/template.php @@ -1101,15 +1101,15 @@ class Page { $i=0; foreach ($match[1] as $key => $val) { if ($match[1][$i] == 'SMALL') { - $template_file = $this->parse('templates/'.$template.'/month_small.tpl'); + $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('templates/'.$template.'/month_medium.tpl'); + $template_file = $this->parse(BASE.'templates/'.$template.'/month_medium.tpl'); $type = 'medium'; $offset = $match[3][$i]; } else { - $template_file = $this->parse('templates/'.$template.'/month_large.tpl'); + $template_file = $this->parse(BASE.'templates/'.$template.'/month_large.tpl'); $type = 'large'; $offset = $match[2][$i].$match[3][$i]; } diff --git a/rss/rss1.0.php b/rss/rss1.0.php index 6280ddd..8dcc0a0 100755 --- a/rss/rss1.0.php +++ b/rss/rss1.0.php @@ -226,7 +226,7 @@ $uid_arr = array(); } } if (($events_count < 1) && ($i == $numdays)) { - $rss_items .= '\n"; + $rss_items .= '\n"; $rss_items .= 'No events found'."\n"; $rss_items .= ''.htmlspecialchars ("$default_path").''."\n"; $rss_items .= ''."\n"; -- cgit v1.2.3