{* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* Contact Summary template for new tabbed interface. Replaces Basic.tpl *} {if $action eq 2} {include file="CRM/Contact/Form/Contact.tpl"} {else} {include file="CRM/common/wysiwyg.tpl" includeWysiwygEditor=true}
{include file="CRM/Contact/Page/Inline/ContactName.tpl"}
{if !$summaryPrint}
{/if}
{if (isset($hookContentPlacement) and ($hookContentPlacement neq 3)) or empty($hookContentPlacement)} {if !empty($hookContent) and isset($hookContentPlacement) and $hookContentPlacement eq 2} {include file="CRM/Contact/Page/View/SummaryHook.tpl"} {/if}
{crmRegion name="contact-basic-info-left"}
{include file="CRM/Contact/Page/Inline/ContactInfo.tpl"}
{/crmRegion}
{crmRegion name="contact-basic-info-right"} {if !empty($imageURL)}
{include file="CRM/Contact/Page/ContactImage.tpl"}
{/if}
{$contactTag}
{ts}Contact Type{/ts}
{if isset($contact_type_label)}{$contact_type_label}{/if}
{ts}CiviCRM ID{/ts}{if !empty($userRecordUrl)} / {ts}User ID{/ts}{/if}
{$contactId} {if !empty($userRecordUrl)}  / {$userRecordId} {/if}
{ts}External ID{/ts}
{if isset($external_identifier)}{$external_identifier}{/if}
{/crmRegion}
{crmRegion name="contact-details-left"}
{if $showEmail}
{include file="CRM/Contact/Page/Inline/Email.tpl"}
{/if} {if $showWebsite}
{include file="CRM/Contact/Page/Inline/Website.tpl"}
{/if}
{/crmRegion}
{crmRegion name="contact-details-right"}
{if $showPhone}
{include file="CRM/Contact/Page/Inline/Phone.tpl"}
{/if} {if $showIM}
{include file="CRM/Contact/Page/Inline/IM.tpl"}
{/if} {if $showOpenID}
{include file="CRM/Contact/Page/Inline/OpenID.tpl"}
{/if}
{/crmRegion}
{if $showAddress}
{assign var='locationIndex' value=1} {if $address} {foreach from=$address item=add key=locationIndex}
{include file="CRM/Contact/Page/Inline/Address.tpl"}
{/foreach} {assign var='locationIndex' value=$locationIndex+1} {/if} {* add new link *} {if $permission EQ 'edit'} {assign var='add' value=0}
{include file="CRM/Contact/Page/Inline/Address.tpl"}
{/if}
{/if}
{if $showCommunicationPreferences}
{include file="CRM/Contact/Page/Inline/CommunicationPreferences.tpl"}
{/if} {if $contact_type eq 'Individual' AND $showDemographics}
{include file="CRM/Contact/Page/Inline/Demographics.tpl"}
{/if}
{if $showCustomData}
{include file="CRM/Contact/Page/View/CustomDataView.tpl" side='1'}
{include file="CRM/Contact/Page/View/CustomDataView.tpl" side='0'}
{/if} {if !empty($hookContent) and isset($hookContentPlacement) and $hookContentPlacement eq 1} {include file="CRM/Contact/Page/View/SummaryHook.tpl"} {/if} {else} {include file="CRM/Contact/Page/View/SummaryHook.tpl"} {/if}
{/if} {* CRM-10560 *} {literal} {/literal}