{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* template for building email block*}
{if $permission EQ 'edit'}
{if empty($email)}{ts}Add email{/ts}{else}{ts}Add or edit email{/ts}{/if}
{/if} {if empty($email)}
{ts}Email{/ts} {if $privacy.do_not_email}{/if}
{/if} {foreach from=$email key="blockId" item=item} {if $item.email}
{$item.location_type} {ts}Email{/ts} {if $privacy.do_not_email}{elseif $item.on_hold}{/if}
{$item.email}{if $item.on_hold == 2} ({ts}On Hold - Opt Out{/ts}){elseif $item.on_hold} ({ts}On Hold{/ts}){/if}{if $item.is_bulkmail} ({ts}Bulk{/ts}){/if} {if $item.signature_text OR $item.signature_html} {ts}(signature){/ts} {/if}
{ts}Signature HTML{/ts}
{$item.signature_html}

{ts}Signature Text{/ts}
{$item.signature_text|nl2br}
{/if} {/foreach}
{literal} {/literal}