{* +--------------------------------------------------------------------+ | CiviCRM version 4.5 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* this template is used for displaying event information *} {if $registerClosed }
 {ts}Registration is closed for this event{/ts}
{/if} {if call_user_func(array('CRM_Core_Permission','check'), 'access CiviEvent')}
{/if}
{* Display top buttons only if the page is long enough to merit duplicate buttons *} {if $event.summary or $event.description} {/if} {if $event.summary}
{$event.summary}
{/if} {if $event.description}
{$event.description}
{/if}
{$event.event_start_date|crmDate} {if $event.event_end_date}   {ts}through{/ts}   {* Only show end time if end date = start date *} {if $event.event_end_date|date_format:"%Y%m%d" == $event.event_start_date|date_format:"%Y%m%d"} {$event.event_end_date|crmDate:0:1} {else} {$event.event_end_date|crmDate} {/if} {/if}
{if $isShowLocation} {if $location.address.1}
{$location.address.1.display|nl2br}
{/if} {if ( $event.is_map && $config->mapProvider && ( is_numeric($location.address.1.geo_code_1) || ( $config->mapGeoCoding && $location.address.1.city AND $location.address.1.state_province ) ) ) }
{assign var=showDirectly value="1"} {include file="CRM/Contact/Form/Task/Map/`$config->mapProvider`.tpl" fields=$showDirectly}
{ts}Show large map{/ts}
{/if} {/if}{*End of isShowLocation condition*} {if $location.phone.1.phone || $location.email.1.email}
{* loop on any phones and emails for this event *} {foreach from=$location.phone item=phone} {if $phone.phone} {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}
{/if} {/foreach} {foreach from=$location.email item=email} {if $email.email} {ts}Email:{/ts} {/if} {/foreach}
{/if} {if $event.is_monetary eq 1 && $feeBlock.value}
{foreach from=$feeBlock.value name=fees item=value} {assign var=idx value=$smarty.foreach.fees.iteration} {* Skip price field label for quick_config price sets since it duplicates $event.fee_label *} {if $feeBlock.lClass.$idx} {assign var="lClass" value=$feeBlock.lClass.$idx} {else} {assign var="lClass" value="fee_level-label"} {/if} {if $isQuickConfig && $lClass EQ "price_set_option_group-label"} {* Skip price field label for quick_config price sets since it duplicates $event.fee_label *} {else} {if $isPriceSet & $feeBlock.isDisplayAmount.$idx} {/if} {/if} {/foreach}
{$feeBlock.label.$idx}{$feeBlock.value.$idx|crmMoney}
{/if} {include file="CRM/Custom/Page/CustomDataView.tpl"} { if $event.is_public }
{include file="CRM/Event/Page/iCalLinks.tpl"} {/if} {if $event.is_share } {capture assign=eventUrl}{crmURL p='civicrm/event/info' q="id=`$event.id`&reset=1" a=1 fe=1 h=1}{/capture} {include file="CRM/common/SocialNetwork.tpl" url=$eventUrl title=$event.title pageURL=$eventUrl} {/if}
{literal} {/literal}