Update of /cvsroot/phpicalendar/phpicalendar/rss
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9498/rss
Modified Files:
rss2.0.php rss_common.php
Log Message:
fix tags and linebreaks in tooltips
Index: rss2.0.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/rss/rss2.0.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** rss2.0.php 3 Jan 2009 07:26:20 -0000 1.9
--- rss2.0.php 1 Feb 2009 21:22:24 -0000 1.10
***************
*** 85,89 ****
function rss_close(){
! return "\n</channel>\n</rss>\n";
}
?>
--- 85,91 ----
function rss_close(){
! global $rss_link;
! return "\n
! <atom:link href=\"$rss_link\" rel=\"self\" type=\"application/rss+xml\" />\n</channel>\n</rss>\n";
}
?>
Index: rss_common.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/rss/rss_common.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** rss_common.php 30 Jan 2009 21:45:54 -0000 1.7
--- rss_common.php 1 Feb 2009 21:22:24 -0000 1.8
***************
*** 186,191 ****
# $event_text = word_wrap($event_text, 21, $tomorrows_events_lines);
$description = stripslashes(urldecode($val["description"]));
! $description = str_replace('<br />',"\n",$description);
! $description = strip_tags($description, '<b><i><u>');
$description = str_replace('&','&',$description);
$description = str_replace('&amp;','&',$description);
--- 186,191 ----
# $event_text = word_wrap($event_text, 21, $tomorrows_events_lines);
$description = stripslashes(urldecode($val["description"]));
! # $description = str_replace('<br />',"\n",$description);
! $description = strip_tags($description, '<b><i><u><br>');
$description = str_replace('&','&',$description);
$description = str_replace('&amp;','&',$description);
|