{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* this template is used for adding/editing options *}
{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 $form.value.html && $gName neq 'redaction_rule'} {/if} {if $gName eq 'custom_search'} {else} {if $gName eq 'redaction_rule'} {/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.grouping.html} {/if} {if $form.icon.html} {/if} {if $form.color.html} {/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.value.label} {$form.value.html}
{if $action == 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}
{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.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.grouping.label} {$form.grouping.html}
{$form.weight.label} {$form.weight.html}
{$form.icon.label} {$form.icon.html}
{$form.color.label} {$form.color.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"}