diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-10-22 18:30:13 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-10-22 18:30:13 +0000 |
commit | 4bb8ac11b86112928d013e8fae12e7542a732626 (patch) | |
tree | 21a189228c94a76a9ece11888b72895e3f9f607d /week.php | |
parent | 32bb2d7d5448554286200cf5d066af0e57221ad1 (diff) | |
download | phpicalendar-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; |