{* +--------------------------------------------------------------------+ | 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 template is used for adding/editing/deleting activity type *}

{if $action eq 1}{ts}New Option Value{/ts}{elseif $action eq 2}{ts}Edit Option Value{/ts}{else}{ts}Delete Option Value{/ts}{/if}

{if $action eq 8}
{ts}WARNING: Deleting this option value will result in the loss of all records which use the option value.{/ts} {ts}This may mean the loss of a substantial amount of data, and the action cannot be undone.{/ts} {ts}Do you want to continue?{/ts}
{else}
{include file="CRM/common/formButtons.tpl" location="top"}
{if $form.financial_account_id} {/if} {if $form.is_default} {/if} {if $form.contactOptions}{* contactOptions is exposed for email/postal greeting and addressee types to set filter for contact types *} {/if}
{$form.label.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_option_value' field='label' id=$id}{/if} {$form.label.html}
{$form.value.label} {$form.value.html}
{if $action eq 2}
{ts}Changing the Value field will unlink records which have been marked with this option. This change can not be undone except by restoring the previous value.{/ts}
{/if} {if $config->languageLimit|@count >= 2}
{ts}The same option value is stored for all languages. Changing this value will change it for all languages.{/ts} {/if}
{$form.name.label} {$form.name.html}
{$form.grouping.label} {$form.grouping.html}
{$form.financial_account_id.label} {$form.financial_account_id.html}
{$form.description.label} {$form.description.html}
{$form.weight.label} {$form.weight.html}
{$form.is_default.label} {$form.is_default.html}
{$form.is_active.label} {$form.is_active.html}
{$form.is_optgroup.label} {$form.is_optgroup.html}
{$form.contactOptions.label} {$form.contactOptions.html}
{/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}