diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-29 06:33:45 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-29 06:33:45 +0000 |
commit | 4f0b3b7acc3f1ca0546e6db58ccf9f3beab8bf4e (patch) | |
tree | fb42c914a067c8e1e41262d7ae79d7bc86609ada /functions | |
parent | ff205ce74d9950105e9c4c9745462f433f81afa6 (diff) | |
download | phpicalendar-4f0b3b7acc3f1ca0546e6db58ccf9f3beab8bf4e.tar.gz phpicalendar-4f0b3b7acc3f1ca0546e6db58ccf9f3beab8bf4e.tar.bz2 phpicalendar-4f0b3b7acc3f1ca0546e6db58ccf9f3beab8bf4e.zip |
remove self-link icons
Diffstat (limited to 'functions')
-rw-r--r-- | functions/ical_parser.php | 8 | ||||
-rw-r--r-- | functions/parse/end_vevent.php | 3 |
2 files changed, 9 insertions, 2 deletions
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 ); |