{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* This file provides the plugin for the communication preferences in all the three types of contact *} {* @var $form Contains the array for the form elements and other form associated information assigned to the template by the controller *}
{$form.email_greeting_id.label} | {/if} {if !empty($form.postal_greeting_id)}{$form.postal_greeting_id.label} | {/if} {if !empty($form.addressee_id)}{$form.addressee_id.label} | {/if} {if !empty($form.email_greeting_id) OR !empty($form.postal_greeting_id) OR !empty($form.addressee_id)}{help id="id-greeting" file="CRM/Contact/Form/Contact.hlp"} | {/if}
{$form.email_greeting_id.html|crmAddClass:big} {if !empty($email_greeting_display) and $action eq 2} {/if} | {/if} {if !empty($form.postal_greeting_id)}{$form.postal_greeting_id.html|crmAddClass:big} {if !empty($postal_greeting_display) and $action eq 2} {/if} | {/if} {if !empty($form.addressee_id)}{$form.addressee_id.html|crmAddClass:big} {if !empty($addressee_display) and $action eq 2} {/if} | {/if}|
{$form.email_greeting_custom.label} | {/if} {if !empty($form.postal_greeting_custom)}{$form.postal_greeting_custom.label} | {/if} {if !empty($form.addressee_custom)}{$form.addressee_custom.label} | {/if}|
{$form.email_greeting_custom.html|crmAddClass:big} | {/if} {if !empty($form.postal_greeting_custom)}{$form.postal_greeting_custom.html|crmAddClass:big} | {/if} {if !empty($form.addressee_custom)}{$form.addressee_custom.html|crmAddClass:big} | {/if}|
{$form.$key.label} {help id="id-$key" file="CRM/Contact/Form/Contact.hlp"} {foreach key=k item=i from=$item} {$form.$key.$k.html} {/foreach} |
{/foreach}
{$form.preferred_language.label} {$form.preferred_language.html} |
||
{$form.is_opt_out.html} {$form.is_opt_out.label} {help id="id-optOut" file="CRM/Contact/Form/Contact.hlp"} | {if !empty($form.preferred_mail_format)}{$form.preferred_mail_format.label} {$form.preferred_mail_format.html} {help id="id-emailFormat" file="CRM/Contact/Form/Contact.hlp"} | {/if}