2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
12 PRODID:-//CiviCRM//NONSGML CiviCRM iCal//EN
13 X-WR-TIMEZONE:{$timezone}
16 UID:CIVICRMACTIVITY{$activity->id}
17 SUMMARY:{$activity->subject|crmICalText}
19 DTSTAMP;VALUE=DATE-TIME:{$smarty.now|date_format:'%Y-%m-%d %H:%M:%S'|crmICalDate}
20 DTSTART;VALUE=DATE-TIME:{$activity->activity_date_time|crmICalDate}
21 DURATION:PT{$activity->duration}M
22 {if $activity->location}
23 LOCATION:{$activity->location|crmICalText}
26 ORGANIZER:MAILTO:{$organizer|crmICalText}
28 {foreach from=$contacts item=contact}
29 ATTENDEE;CN="{$contact.display_name|crmICalText}":MAILTO:{$contact.email|crmICalText}