{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {if $action eq 1 or $action eq 2} {include file="CRM/Contact/Form/DedupeRules.tpl"} {elseif $action eq 4} {include file="CRM/Contact/Form/DedupeFind.tpl"} {else}
{ts}Manage the rules used to identify potentially duplicate contact records. Scan for duplicates using a selected rule and merge duplicate contact data as needed.{/ts} {help id="id-dedupe-intro"}
{if $hasperm_administer_dedupe_rules} {/if} {if $brows} {include file="CRM/common/jsortable.tpl"} {foreach from=$brows key=contactType item=rows}
{strip} {foreach from=$rows item=row} {/foreach}
{ts 1=$contactType}%1 Rules{/ts} {ts}Usage{/ts}
{$row.title} {$row.used_display} {$row.action|replace:'xx':$row.id}
{/strip}
{crmButton q="action=add&contact_type=$contactType&reset=1" icon="plus-circle"}{ts 1=$contactType}Add Rule for %1s{/ts}{/crmButton}
{/foreach} {/if} {/if}