aboutsummaryrefslogtreecommitdiffstats
path: root/week.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-22 18:30:13 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-22 18:30:13 +0000
commit4bb8ac11b86112928d013e8fae12e7542a732626 (patch)
tree21a189228c94a76a9ece11888b72895e3f9f607d /week.php
parent32bb2d7d5448554286200cf5d066af0e57221ad1 (diff)
downloadphpicalendar-4bb8ac11b86112928d013e8fae12e7542a732626.tar.gz
phpicalendar-4bb8ac11b86112928d013e8fae12e7542a732626.tar.bz2
phpicalendar-4bb8ac11b86112928d013e8fae12e7542a732626.zip
Fixed bugs in description java pop-up, also set rtrim to ereg_replace for testing.
Diffstat (limited to 'week.php')
-rw-r--r--week.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/week.php b/week.php
index 995db61..9106d94 100644
--- a/week.php
+++ b/week.php
@@ -176,7 +176,7 @@ for ($i=0;$i<7;$i++) {
$all_day_text = stripslashes(urldecode($allday["event_text"]));
$event_text2 = urlencode(addslashes($all_day_text));
$all_day_text = word_wrap($all_day_text, 12, $allday_week_lines);
- $description = $allday["description"];
+ $description = addslashes(urlencode($allday["description"]));
echo "<tr>\n";
echo "<td valign=\"top\" align=\"center\" class=\"eventbg\"><a class=\"psf\" href=\"javascript:openEventInfo('$event_text2', '$calendar_name', '$event_start', '$event_end', '$description')\"><font color=\"#ffffff\">$all_day_text</font></a></td>\n";
echo "</tr>\n";

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