aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-28 20:13:01 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-28 20:13:01 +0000
commit217454e76e29f9161e2cd49181b67097341755c2 (patch)
treec240583848611a1696ef7992e82a3c413ec89cce /functions
parentd482264b6af8598ce50677ac6a8f781e219b7d6f (diff)
downloadphpicalendar-217454e76e29f9161e2cd49181b67097341755c2.tar.gz
phpicalendar-217454e76e29f9161e2cd49181b67097341755c2.tar.bz2
phpicalendar-217454e76e29f9161e2cd49181b67097341755c2.zip
remove admin.tpl from alternative template folders
Diffstat (limited to 'functions')
-rw-r--r--functions/date_functions.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/functions/date_functions.php b/functions/date_functions.php
index fa8cdd9..ec70fa6 100644
--- a/functions/date_functions.php
+++ b/functions/date_functions.php
@@ -166,10 +166,10 @@ function openevent($event_date, $time, $uid, $arr, $lines = 0, $length = 0, $lin
# for iCal pseudo tag <http> comptability
if (ereg("<([[:alpha:]]+://)([^<>[:space:]]+)>",$event_text,$matches)) {
$full_event_text = $matches[1] . $matches[2];
- $event_text = $matches[2];
+ $event_text = $matches[2];
} else {
$full_event_text = $event_text;
- $event_text = strip_tags($event_text, '<b><i><u><img>');
+ $event_text = strip_tags($event_text, '<b><i><u><img>');
}
if (!empty($event_text)) {
@@ -180,8 +180,8 @@ function openevent($event_date, $time, $uid, $arr, $lines = 0, $length = 0, $lin
if ((!(ereg("([[:alpha:]]+://[^<>[:space:]]+)", $full_event_text, $res))) || ($arr['description'])) {
$escaped_date = addslashes($event_date);
$escaped_time = addslashes($time);
- $escaped_uid = addslashes($uid);
- $event_data = addslashes(serialize ($master_array[$event_date][$time][$uid]));
+ $escaped_uid = addslashes($uid);
+ $event_data = addslashes(serialize ($master_array[$event_date][$time][$uid]));
// fix for URL-length bug in IE: populate and submit a hidden form on click
static $popup_data_index = 0;
$return = "

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