{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {ts}CiviEvent Public Calendar{/ts} {$config->userFrameworkBaseURL} {ts}Listing of current and upcoming public events.{/ts} {$rssLang} CiviCRM http://blogs.law.harvard.edu/tech/rss {foreach from=$events key=uid item=event} {$event.title|escape:'html'} {crmURL p='civicrm/event/info' q="reset=1&id=`$event.event_id`" fe=1 a=1} {if $event.summary}{$event.summary|escape:'html'} {/if} {if $event.description}{$event.description|escape:'html'} {/if} {if $event.start_date}{ts}When{/ts}: {$event.start_date|crmDate}{if $event.end_date} {ts}through{/ts} {strip} {* Only show end time if end date = start date *} {if $event.end_date|date_format:"%Y%m%d" == $event.start_date|date_format:"%Y%m%d"} {$event.end_date|date_format:"%I:%M %p"} {else} {$event.end_date|crmDate} {/if}{/strip} {/if} {/if} {if $event.is_show_location EQ 1 && $event.location}{ts}Where{/ts}: {$event.location|escape:'html'} {/if} {if $event.event_type}{$event.event_type|escape:'html'} {/if} {if $event.contact_email}{$event.contact_email} {/if} {$event.uid} {/foreach}