{* +--------------------------------------------------------------------+ | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +--------------------------------------------------------------------+ | 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 communication preference block*}
{if $permission EQ 'edit'}
{ts}Edit communication preferences{/ts}
{/if}
{ts}Privacy{/ts}
{foreach from=$privacy item=priv key=index} {if $priv}{$privacy_values.$index}
{/if} {/foreach} {if $is_opt_out}{ts}No Bulk Emails (User Opt Out){/ts}{/if}
{ts}Preferred Method(s){/ts}
{$preferred_communication_method_display}
{if $preferred_language}
{ts}Preferred Language{/ts}
{$preferred_language}
{/if}
{ts}Email Format{/ts}
{$preferred_mail_format}
{if isset($communication_style_display)}
{ts}Communication Style{/ts}
{$communication_style_display}
{/if}
{ts}Email Greeting{/ts}
{$email_greeting_display} {if !empty($email_greeting_custom)}({ts}Customized{/ts}){/if}
{ts}Postal Greeting{/ts}
{$postal_greeting_display} {if !empty($postal_greeting_custom)}({ts}Customized{/ts}){/if}
{ts}Addressee{/ts}
{$addressee_display} {if !empty($addressee_custom)}({ts}Customized{/ts}){/if}