From 145b8571358d47692e6c7f7a4ce8f3b86f17e199 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Wed, 8 Feb 2006 09:07:59 +0000 Subject: Make rss URLs links --- rss/index.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'rss') diff --git a/rss/index.php b/rss/index.php index b44070b..cc32049 100644 --- a/rss/index.php +++ b/rss/index.php @@ -31,10 +31,12 @@ foreach ($filelist as $file) { $cal_tmp = getCalendarName($file); } $cal_displayname_tmp = str_replace("32", " ", $cal_filename_tmp); + $cal_tmp = str_replace(" ", "+", $cal_tmp); $rss_list .= ''.$cal_displayname_tmp.' '. $calendar_lang.'
'; - $rss_list .= $default_path.'/rss/rss.php?cal='.$cal_tmp.'&cpath='.$cpath.'&rssview=day
'; - $rss_list .= $default_path.'/rss/rss.php?cal='.$cal_tmp.'&cpath='.$cpath.'&rssview=week
'; - $rss_list .= $default_path.'/rss/rss.php?cal='.$cal_tmp.'&cpath='.$cpath.'&rssview=month

'; + $rss_list .= ''.$default_path.'/rss/rss.php?cal='.$cal_tmp.'&cpath='.$cpath.'&rssview=day
'; + $rss_list .= ''.$default_path.'/rss/rss.php?cal='.$cal_tmp.'&cpath='.$cpath.'&rssview=week
'; + $rss_list .= ''.$default_path.'/rss/rss.php?cal='.$cal_tmp.'&cpath='.$cpath.'&rssview=month
'; + $rss_list .= ''.$default_path.'/rss/rss.php?cal='.$cal_tmp.'&cpath='.$cpath.'&rssview=year
'; $footer_check = $default_path.'/rss/rss.php?cal='.$default_cal.'&rssview='.$default_view; } -- cgit v1.2.3