aboutsummaryrefslogtreecommitdiffstats
path: root/month_bottom.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-16 22:10:39 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-16 22:10:39 +0000
commit3c66d867ef0b06e988272b42f7dca367f328e1de (patch)
tree884958f5312adf4741c36f0a9bfc17c364be8a1e /month_bottom.php
parent5e56a2ef03a5e676a7cfd782b4c341ca00797265 (diff)
downloadphpicalendar-3c66d867ef0b06e988272b42f7dca367f328e1de.tar.gz
phpicalendar-3c66d867ef0b06e988272b42f7dca367f328e1de.tar.bz2
phpicalendar-3c66d867ef0b06e988272b42f7dca367f328e1de.zip
Added support for #'s and &'s in javascript.
Diffstat (limited to 'month_bottom.php')
-rw-r--r--month_bottom.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/month_bottom.php b/month_bottom.php
index 392f815..efbd30f 100644
--- a/month_bottom.php
+++ b/month_bottom.php
@@ -360,9 +360,10 @@
// Pull out each time
foreach ($new_val as $new_key2 => $new_val2) {
if ($new_val2["event_text"]) {
- $event_text = $new_val2["event_text"];
+ $event_text = urldecode($new_val2["event_text"]);
$event_text2 = addslashes($new_val2["event_text"]);
$event_text2 = str_replace("\"", "&quot;", $event_text2);
+ $event_text2 = urlencode($event_text2);
$description = addslashes($new_val2["description"]);
$description = str_replace("\"", "&quot;", $description);
$event_start = $new_val2["event_start"];

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