From: <ji...@us...> - 2007-02-16 06:34:12
|
Update of /cvsroot/phpicalendar/phpicalendar/rss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11469/phpicalendar/rss Modified Files: rss.php rss1.0.php rss2.0.php Log Message: allow rss link to event popup option Index: rss.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/rss/rss.php,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** rss.php 16 Feb 2007 06:25:42 -0000 1.47 --- rss.php 16 Feb 2007 06:34:10 -0000 1.48 *************** *** 189,195 **** $rss_title = urldecode ("$dayofweek: $event_text"); ! $event_data = serialize($val); ! $rss_link = "$default_path/event.php?getdate=$thisdate&cal=$cal&event_data=$event_data"; if (isset($cpath) && $cpath !='') $rss_link.="&cpath=$cpath"; $rss_description = htmlspecialchars ("$dayofweek $event_start: $description"); --- 189,202 ---- $rss_title = urldecode ("$dayofweek: $event_text"); ! ! 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"; + $rss_description = htmlspecialchars ("$dayofweek $event_start: $description"); Index: rss1.0.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/rss/rss1.0.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** rss1.0.php 14 Aug 2006 05:57:32 -0000 1.4 --- rss1.0.php 16 Feb 2007 06:34:10 -0000 1.5 *************** *** 197,205 **** /* 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"; } /* End link modification */ $rss_description = htmlspecialchars ("$dayofweek $event_start: $description"); --- 197,211 ---- /* Add %20's for spaces for the calendar links to make them valid url's */ $urlcal = rawurlencode ("$cal"); ! ! 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"); Index: rss2.0.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/rss/rss2.0.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** rss2.0.php 14 Aug 2006 04:48:40 -0000 1.3 --- rss2.0.php 16 Feb 2007 06:34:10 -0000 1.4 *************** *** 200,207 **** /* 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"; } /* End link modification */ $rss_description = htmlspecialchars ("$dayofweek $event_start: $description"); --- 200,211 ---- /* Add %20's for spaces for the calendar links to make them valid url's */ $urlcal = rawurlencode ("$cal"); ! 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"); |