From: <ji...@us...> - 2008-12-28 20:13:06
|
Update of /cvsroot/phpicalendar/phpicalendar/includes In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9878/includes Modified Files: event.php Log Message: remove admin.tpl from alternative template folders Index: event.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/event.php,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** event.php 26 Dec 2008 17:07:53 -0000 1.46 --- event.php 28 Dec 2008 20:13:01 -0000 1.47 *************** *** 8,12 **** # in function openevent() from functions/date_functions.php # character encoding has been problematic with popups. ! $event = unserialize($_POST['event_data']); $organizer = unserialize($event['organizer']); $attendee = unserialize($event['attendee']); --- 8,12 ---- # in function openevent() from functions/date_functions.php # character encoding has been problematic with popups. ! $event = unserialize(stripslashes($_POST['event_data'])); $organizer = unserialize($event['organizer']); $attendee = unserialize($event['attendee']); *************** *** 20,28 **** } ! $event['event_text'] = stripslashes(urldecode($event['event_text'])); ! $event['description'] = stripslashes(urldecode($event['description'])); ! $event['location'] = stripslashes(urldecode($event['location'])); $display =''; ! if ($event['description']) $event['description'] = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]",'<a target="_new" href="\0">\0</a>',$event['description']); if (isset($organizer) && is_array($organizer)) { --- 20,28 ---- } ! $event['event_text'] = urldecode($event['event_text']); ! $event['description'] = urldecode($event['description']); ! $event['location'] = urldecode($event['location']); $display =''; ! if (isset($event['description'])) $event['description'] = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]",'<a target="_new" href="\0">\0</a>',$event['description']); if (isset($organizer) && is_array($organizer)) { |