From: <cl...@us...> - 2003-03-11 23:02:53
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv24459/functions Modified Files: ical_parser.php Log Message: Started LOCATION support, changed version to 0.9.2. Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.86 retrieving revision 1.87 diff -C2 -d -r1.86 -r1.87 *** ical_parser.php 10 Mar 2003 18:27:09 -0000 1.86 --- ical_parser.php 11 Mar 2003 23:02:15 -0000 1.87 *************** *** 893,905 **** // Attendee support only testing in Apple iCal 1.0.2 case 'ATTENDEE': ! $field = ereg_replace("ATTENDEE;CN=", "", $field); ! $data = ereg_replace ("mailto:", "", $data); $attendee[] = array ('name' => $field, 'email' => $data); #print_r($attendee); break; case 'ORGANIZER': ! $field = ereg_replace("ORGANIZER;CN=", "", $field); ! $data = ereg_replace ("mailto:", "", $data); $organizer[] = array ('name' => $field, 'email' => $data); break; } --- 893,908 ---- // Attendee support only testing in Apple iCal 1.0.2 case 'ATTENDEE': ! $field = ereg_replace("ATTENDEE;CN=", "", $field); ! $data = ereg_replace ("mailto:", "", $data); $attendee[] = array ('name' => $field, 'email' => $data); #print_r($attendee); break; case 'ORGANIZER': ! $field = ereg_replace("ORGANIZER;CN=", "", $field); ! $data = ereg_replace ("mailto:", "", $data); $organizer[] = array ('name' => $field, 'email' => $data); + break; + case 'LOCATION': + $data = $location; break; } |