{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | 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 used to build location block *} {if !$addBlock}
{ts}Use this form to configure the location and optional contact information for the event. This information will be displayed on the Event Information page. It will also be included in online registration pages and confirmation emails if these features are enabled.{/ts}
{/if} {if $addBlock} {include file="CRM/Contact/Form/Edit/$blockName.tpl"} {else}
{include file="CRM/common/formButtons.tpl" location="top"}
{if $locEvents} {foreach from=$form.location_option key=key item =item} {if $key|is_numeric} {/if} {/foreach}
{$form.location_option.label} {$item.html}
{$form.loc_event_id.label} {$form.loc_event_id.html|crmAddClass:huge}
{/if}

Address

{* Display the address block *} {include file="CRM/Contact/Form/Edit/Address.tpl"} {* Display the email block(s) *} {include file="CRM/Contact/Form/Edit/Email.tpl"} {* Display the phone block(s) *} {include file="CRM/Contact/Form/Edit/Phone.tpl"}
{$form.is_show_location.label} {$form.is_show_location.html}
{ts}Uncheck this box if you want to HIDE the event Address on Event Information and Registration pages as well as on email confirmations.{/ts}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{* Include Javascript to hide and display the appropriate blocks as directed by the php code *} {*include file="CRM/common/showHide.tpl"*} {if $locEvents} {* include common additional blocks tpl *} {include file="CRM/common/additionalBlocks.tpl"} {/if} {/if} {* add block if end*}