{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* this template is used for adding/editing options *}

{if $action eq 1}{ts 1=$gLabel}New %1 Option{/ts}{elseif $action eq 8}{ts 1=$gLabel}Delete %1 Option{/ts}{else}{ts 1=$gLabel}Edit %1 Option{/ts}{/if}

{include file="CRM/common/formButtons.tpl" location="top"}
{if $action eq 8}
{ts 1=$gLabel}WARNING: Deleting this option will result in the loss of all %1 related records which use the option.{/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} {if $gName eq 'custom_search'} {elseif $gName eq 'from_email_address'} {elseif $gName eq 'redaction_rule'} {else} {if $form.financial_account_id.html} {/if} {/if} {if $gName eq 'case_status'} {/if} {if $gName eq 'custom_search'} {else} {if $gName eq 'redaction_rule'} {elseif $form.value.html} {/if} {if $form.name.html} {* Get the name value also *} {/if} {if $form.filter.html} {* Filter property is only exposed for some option groups. *} {/if} {/if} {/if} {if $gName eq 'participant_status'} {/if} {if $form.component_id.html} {* Component ID is exposed for activity types if CiviCase is enabled. *} {/if} {if $showDefault} {/if} {if $showContactFilter}{* contactOptions is exposed for email/postal greeting and addressee types to set filter for contact types *} {/if}
{ts}Custom Search Path{/ts} {$form.label.html}
{ts}Enter the "class path" for this custom search here.{/ts}
{ts}FROM Email Address{/ts} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_option_value' field='label' id=$id}{/if} {$form.label.html}
{ts}Include double-quotes (") around the name and angle-brackets (< >) around the email address.
EXAMPLE: "Client Services" <clientservices@example.org>{/ts}
{ts}Match Value or Expression{/ts} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_option_value' field='label' id=$id}{/if} {$form.label.html}
{ts}A "string value" or regular expression to be redacted (replaced).{/ts}
{$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}
{ts}The option label is displayed to users.{/ts}
{$form.financial_account_id.label} {$form.financial_account_id.html}
{$form.grouping.label} {$form.grouping.html}
{ts}Search Title{/ts} {$form.description.html}
{ts}This title is displayed to users in the Custom Search listings.{/ts}
{ts}Replacement (prefix){/ts} {$form.value.html}
{ts}Matched values are replaced with this prefix plus a unique code. EX: If replacement prefix for "Vancouver" is city_, occurrences will be replaced with city_39121.{/ts}
{$form.value.label} {$form.value.html}
{ts}The option value is stored in your database.{/ts}
{$form.name.label} {$form.name.html}
{ts}The class name which implements this functionality.{/ts}
{$form.filter.label} {$form.filter.html}
{$form.description.label} {$form.description.html}
{if $gName eq 'activity_type'} {ts}Description is included at the top of the activity edit and view pages for this type of activity.{/ts}
{$form.visibility_id.label} {$form.visibility_id.html}
{$form.weight.label} {$form.weight.html}
{$form.component_id.label} {$form.component_id.html}
{$form.is_active.label} {$form.is_active.html}
{$form.is_default.label} {$form.is_default.html}
{$form.contactOptions.label} {$form.contactOptions.html}
{/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}