aboutsummaryrefslogtreecommitdiffstats
path: root/rss/rss.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-29 06:00:42 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-29 06:00:42 +0000
commitff205ce74d9950105e9c4c9745462f433f81afa6 (patch)
tree9eb0bffc3ed8929a0cd193ada85aeab20e64e388 /rss/rss.php
parent2e0dde77d8a86e895302c4804023f747e987c9f8 (diff)
downloadphpicalendar-ff205ce74d9950105e9c4c9745462f433f81afa6.tar.gz
phpicalendar-ff205ce74d9950105e9c4c9745462f433f81afa6.tar.bz2
phpicalendar-ff205ce74d9950105e9c4c9745462f433f81afa6.zip
add all calendars to rss index
Diffstat (limited to 'rss/rss.php')
-rw-r--r--rss/rss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/rss/rss.php b/rss/rss.php
index 4100c61..c22f31e 100644
--- a/rss/rss.php
+++ b/rss/rss.php
@@ -11,7 +11,7 @@ $rss_version = '<rss version="0.91">'."\n";
require(BASE.'rss/rss_common.php');
function rss_top(){
- global $cal_displayname, $theview, $default_path, $cpath, $lang, $rss_link, $rss_language;
+ global $cal_displayname, $theview, $phpiCal_config, $cpath, $lang, $rss_link, $rss_language;
$rss = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"."\n";
$rss .= '<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">'."\n";
$rss .= '<rss version="0.91">'."\n";
@@ -26,7 +26,7 @@ function rss_top(){
$rss .= '<description>'.$cal_displayname.' '.$lang['l_calendar'].' - '.$theview.'</description>'."\n";
$rss .= '<language>'.$rss_language.'</language>'."\n";
- $rss .= '<copyright>Copyright '.date(Y).', '.htmlspecialchars ("$default_path").'</copyright>'."\n";
+ $rss .= '<copyright>Copyright '.date("Y").', '.htmlspecialchars ("$default_path").'</copyright>'."\n";
return $rss;
}

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