From 4f0b3b7acc3f1ca0546e6db58ccf9f3beab8bf4e Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Mon, 29 Dec 2008 06:33:45 +0000 Subject: remove self-link icons --- functions/ical_parser.php | 8 +++++++- functions/parse/end_vevent.php | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'functions') diff --git a/functions/ical_parser.php b/functions/ical_parser.php index d79ba20..5e1afc6 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -134,7 +134,7 @@ foreach ($cal_filelist as $cal_key=>$filename) { unset ( $start_time, $end_time, $start_date, $end_date, $allday_start, $allday_end, $start, $end, $the_duration, - $beginning, $start_of_vevent, $url, + $beginning, $start_of_vevent, $valarm_description, $start_unixtime, $end_unixtime, $display_end_tmp, $end_time_tmp1, $recurrence_id, $uid, $rrule, $until_check, $until, $byweek, $byweekno, @@ -148,6 +148,7 @@ foreach ($cal_filelist as $cal_key=>$filename) { $class = ''; $location = ''; $url = ''; + $geo = ''; $type = ''; $wkst = 'MO'; @@ -204,6 +205,7 @@ foreach ($cal_filelist as $cal_key=>$filename) { 'categories' => $vtodo_categories, 'description' => $description, 'calname' => $actual_calname, + 'geo' => $geo, 'url' => $url ); unset ($start_date, $start_time, $due_date, $due_time, $completed_date, $completed_time, $vtodo_priority, $status, $class, $vtodo_categories, $summary, $description); @@ -263,6 +265,10 @@ foreach ($cal_filelist as $cal_key=>$filename) { case 'STATUS': $status = "$data"; break; + + case 'GEO': + $geo = "$data"; + break; case 'CLASS': $class = "$data"; diff --git a/functions/parse/end_vevent.php b/functions/parse/end_vevent.php index ac909ff..3e2ea4e 100644 --- a/functions/parse/end_vevent.php +++ b/functions/parse/end_vevent.php @@ -338,7 +338,8 @@ foreach($recur_data as $recur_data_unixtime) { 'organizer' => serialize($organizer), 'attendee' => serialize($attendee), 'calnumber' => $calnumber, - 'calname' => $actual_calname, + 'calname' => $actual_calname, + 'geo' => $geo, 'url' => $url, 'recur' => $recur ); -- cgit v1.2.3