aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2006-08-14 05:57:32 +0000
committerJim Hu <jimhu@users.sourceforge.net>2006-08-14 05:57:32 +0000
commitf4e6d9a4ccc056646f7fb69aa7ac2ba601610449 (patch)
tree3f36125295d26c6ca8cb0969c78146745ca6967a
parent2fc4352cc2e9e439993efbc6f3c2a851b181a8ba (diff)
downloadphpicalendar-f4e6d9a4ccc056646f7fb69aa7ac2ba601610449.tar.gz
phpicalendar-f4e6d9a4ccc056646f7fb69aa7ac2ba601610449.tar.bz2
phpicalendar-f4e6d9a4ccc056646f7fb69aa7ac2ba601610449.zip
fix missing quote mark
-rw-r--r--functions/template.php6
-rwxr-xr-xrss/rss1.0.php2
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 .= '<item rdf:about="'.$default_path."\>\n";
+ $rss_items .= '<item rdf:about="'.$default_path."\">\n";
$rss_items .= '<title>No events found</title>'."\n";
$rss_items .= '<link>'.htmlspecialchars ("$default_path").'</link>'."\n";
$rss_items .= '</item>'."\n";

© 2014-2024 Faster IT GmbH | imprint | privacy policy