{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* Displays current and upcoming public Events Listing as an HTML page. *} {include file="CRM/common/jsortable.tpl"}
{ts}Event{/ts} | {ts}When{/ts} | {ts}Location{/ts} | {ts}Category{/ts} | {ts}Email{/ts} | {if $registration_links}{ts}Register{/ts} | {/if}|
---|---|---|---|---|---|---|
{$event.title} | {if $event.summary}{$event.summary|purify} ({ts}read more{/ts}...){else} {/if} |
{if $event.start_date}{$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|crmDate:0:1} {else} {$event.end_date|crmDate} {/if}{/strip}{/if} {else}{ts}(not available){/ts}{/if} |
{if $event.is_show_location EQ 1 AND $event.location}{$event.location}{else}{ts}(not available){/ts}{/if} | {if $event.event_type}{$event.event_type}{else} {/if} | {if $event.contact_email}{$event.contact_email}{else} {/if} | {if $registration_links}{$event.registration_link_text} | {/if}