From: <ji...@us...> - 2008-12-28 20:13:06
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9878/functions Modified Files: date_functions.php Log Message: remove admin.tpl from alternative template folders Index: date_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/date_functions.php,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** date_functions.php 28 Dec 2008 19:30:41 -0000 1.46 --- date_functions.php 28 Dec 2008 20:13:01 -0000 1.47 *************** *** 167,174 **** if (ereg("<([[:alpha:]]+://)([^<>[:space:]]+)>",$event_text,$matches)) { $full_event_text = $matches[1] . $matches[2]; ! $event_text = $matches[2]; } else { $full_event_text = $event_text; ! $event_text = strip_tags($event_text, '<b><i><u><img>'); } --- 167,174 ---- if (ereg("<([[:alpha:]]+://)([^<>[:space:]]+)>",$event_text,$matches)) { $full_event_text = $matches[1] . $matches[2]; ! $event_text = $matches[2]; } else { $full_event_text = $event_text; ! $event_text = strip_tags($event_text, '<b><i><u><img>'); } *************** *** 181,186 **** $escaped_date = addslashes($event_date); $escaped_time = addslashes($time); ! $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; --- 181,186 ---- $escaped_date = addslashes($event_date); $escaped_time = addslashes($time); ! $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; |