From 8835f290aeb05b2071320b38c14f6a4f013c06be Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Fri, 16 Feb 2007 06:34:10 +0000 Subject: allow rss link to event popup option --- rss/rss1.0.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'rss/rss1.0.php') diff --git a/rss/rss1.0.php b/rss/rss1.0.php index 8dcc0a0..cd99958 100755 --- a/rss/rss1.0.php +++ b/rss/rss1.0.php @@ -196,11 +196,17 @@ $uid_arr = array(); */ /* Add %20's for spaces for the calendar links to make them valid url's */ $urlcal = rawurlencode ("$cal"); - $rss_link = ("$default_path/day.php?getdate=$thisdate&cal=$urlcal"); - if (isset($cpath) && $cpath !=''){ - $rss_link .= "&cpath=$cpath"; + + if (isset($rss_link_to_event) && $$rss_link_to_event == 'yes'){ + $event_data = serialize($val); + $rss_link = "$default_path/event.php?getdate=$thisdate&cal=$cal&event_data=$event_data"; + }else{ + $rss_link = ("$default_path/day.php?getdate=$thisdate&cal=$urlcal"); + } + if (isset($cpath) && $cpath !='') $rss_link.="&cpath=$cpath"; /* End link modification */ + $rss_description = htmlspecialchars ("$dayofweek $event_start: $description"); $rss .= ''."\n"; -- cgit v1.2.3