{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {capture assign=newEventURL}{crmURL p='civicrm/event/add' q="action=add&reset=1"}{/capture}
{include file="CRM/Event/Page/iCalLinks.tpl"}
{include file="CRM/Event/Form/SearchEvent.tpl"} {if $rows}
{strip} {include file="CRM/common/pager.tpl" location="top"} {include file="CRM/common/pagerAToZ.tpl"} {* handle enable/disable actions*} {include file="CRM/common/enableDisableApi.tpl"} {include file="CRM/common/jsortable.tpl"} {if call_user_func(array('CRM_Campaign_BAO_Campaign','isCampaignEnable'))} {/if} {foreach from=$rows key=keys item=row} {if $keys neq 'tab'} {if call_user_func(array('CRM_Campaign_BAO_Campaign','isCampaignEnable'))} {/if} {/if} {/foreach}
{ts}Event{/ts} {ts}City{/ts} {ts}State/Province{/ts} {ts}Type{/ts} {ts}Public?{/ts} {ts}Starts{/ts} {ts}Ends{/ts}{ts}Campaign{/ts}{ts}Active?{/ts}
{$row.title}  ({ts}ID:{/ts} {$row.id})
{$row.repeat}
{$row.city} {$row.state_province} {$row.event_type} {if $row.is_public eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {$row.start_date|crmDate:"%b %d, %Y %l:%M %P"} {$row.end_date|crmDate:"%b %d, %Y %l:%M %P"}{$row.campaign} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}
{ts}Configure{/ts}
    {foreach from=$rows.tab key=k item=v} {assign var="fld" value=$v.field} {if NOT $row.$fld}{assign var="status" value="disabled"}{else}{assign var="status" value="enabled"}{/if} {if $k eq 'reminder'}
  • {$v.title} {else}
  • {$v.title}
  • {/if} {/foreach}
{ts}Participants{/ts}
{$row.action|replace:'xx':$row.id}
{$row.start_date|crmDate} {$row.end_date|crmDate}
{include file="CRM/common/pager.tpl" location="bottom"} {/strip}
{else} {if $isSearch eq 1}
{icon icon="fa-info-circle"}{/icon} {capture assign=browseURL}{crmURL p='civicrm/event/manage' q="reset=1"}{/capture} {ts}No available Events match your search criteria. Suggestions:{/ts}
{ts 1=$browseURL}Or you can browse all available Current Events.{/ts}
{else}
{icon icon="fa-info-circle"}{/icon} {ts 1=$newEventURL}There are no events scheduled for the date range. You can add one.{/ts}
{/if} {/if}