{* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {capture assign=newEventURL}{crmURL p='civicrm/event/add' q="action=add&reset=1"}{/capture} {capture assign=icalFile}{crmURL p='civicrm/event/ical' q="reset=1" fe=1}{/capture} {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&list=1" fe=1}{/capture} {capture assign=rssFeed}{crmURL p='civicrm/event/ical' q="reset=1&list=1&rss=1" fe=1}{/capture} {capture assign=htmlFeed}{crmURL p='civicrm/event/ical' q="reset=1&list=1&html=1" fe=1}{/capture}
{ts}HTML listing of current and future public events.{/ts}    {ts}Get RSS 2.0 feed for current and future public events.{/ts}    {ts}Download iCalendar file for current and future public events.{/ts}    {ts}Get iCalendar feed for current and future public events.{/ts}    {help id='icalendar'}
{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} {if $isSearch eq 0}
{ts}Don't see your event listed? Try "Search All or by Date Range" above.{/ts}
{/if}
{else} {if $isSearch eq 1}
{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}
{ts 1=$newEventURL}There are no events scheduled for the date range. You can add one.{/ts}
{/if} {/if}