{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *}

{ts 1=$contact_type}Matching Rule for %1 Contacts{/ts}

{ts}Configure up to five fields to evaluate when searching for 'suspected' duplicate contact records.{/ts} {help id="id-rules"}
{include file="CRM/common/formButtons.tpl" location="top"}
{$form.title.label} {$form.title.html}
{ts}Enter descriptive name for this matching rule.{/ts}
{$form.used.label} {$form.used.html} {help id="id-rule-used"}
{$form.is_reserved.label} {$form.is_reserved.html} {if !$isReserved}
{ts}WARNING: Once a rule is marked as reserved it can not be deleted and the fields and weights can not be modified.{/ts} {/if}
{* Hide fields and document match criteria for optimized reserved rules. *} {if $ruleName EQ 'IndividualSupervised' OR $ruleName EQ 'IndividualUnsupervised' OR $ruleName EQ 'IndividualGeneral'} {else} {if $isReserved} {/if} {section name=count loop=5} {capture assign=where}where_{$smarty.section.count.index}{/capture} {capture assign=length}length_{$smarty.section.count.index}{/capture} {capture assign=weight}weight_{$smarty.section.count.index}{/capture} {/section} {/if}
{ts}This reserved rule is pre-configured with matching fields to optimize dedupe scanning performance. It matches on:{/ts}
    {if $ruleName EQ 'IndividualUnsupervised'}
  • {ts}Email only{/ts}
  • {elseif $ruleName EQ 'IndividualSupervised'}
  • {ts}Email{/ts}
  • {ts}First Name{/ts}
  • {ts}Last Name{/ts}
  • {elseif $ruleName EQ 'IndividualGeneral'}
  • {ts}First Name{/ts}
  • {ts}Last Name{/ts}
  • {ts}Middle Name (if present){/ts}
  • {ts}Suffix (if present){/ts}
  • {ts}Street Address (if present){/ts}
  • {ts}Birth Date (if present){/ts}
  • {/if}
{ts}Note: You cannot edit fields for a reserved rule.{/ts}
{ts}Field{/ts}{ts}Length{/ts}{ts}Weight{/ts}
{$form.$where.html} {$form.$length.html} {$form.$weight.html}
{$form.threshold.label} {$form.threshold.html}
{include file="CRM/common/formButtons.tpl" location="bottom"}