From 217454e76e29f9161e2cd49181b67097341755c2 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Sun, 28 Dec 2008 20:13:01 +0000 Subject: remove admin.tpl from alternative template folders --- functions/date_functions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'functions') 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 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, ''); + $event_text = strip_tags($event_text, ''); } 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 = " -- cgit v1.2.3