{* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | 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 2 || $action eq 16}
{ts}Contact{/ts} 1{ts}Contact{/ts} 2 ({ts}Duplicate{/ts}){ts}Threshold{/ts} 
{include file="CRM/common/jsortable.tpl" sourceUrl=$sourceUrl useAjax=1 } {if $cid} {foreach from=$dupe_contacts[$cid] item=dupe_name key=dupe_id} {if $dupe_name} {capture assign=link}{$dupe_name}{/capture} {capture assign=merge}{ts}merge{/ts}{/capture} {/if} {/foreach}
{ts 1=$main_contacts[$cid]}Merge %1 with{/ts}
{$link} {$merge} {ts}not a duplicate{/ts}
{/if}
{if $context eq 'search'} {crmButton href=$backURL icon="close"}{ts}Done{/ts}{/crmButton} {else} {if $gid} {capture assign=backURL}{crmURL p="civicrm/contact/dedupefind" q="reset=1&rgid=`$rgid`&gid=`$gid`&action=renew" a=1}{/capture} {else} {capture assign=backURL}{crmURL p="civicrm/contact/dedupefind" q="reset=1&rgid=`$rgid`&action=renew" a=1}{/capture} {/if} {ts}Refresh Duplicates{/ts} {if $gid} {capture assign=backURL}{crmURL p="civicrm/contact/dedupefind" q="reset=1&rgid=`$rgid`&gid=`$gid`&action=map" a=1}{/capture} {else} {capture assign=backURL}{crmURL p="civicrm/contact/dedupefind" q="reset=1&rgid=`$rgid`&action=map" a=1}{/capture} {/if}
{ts}Batch Merge Duplicates{/ts}
{capture assign=backURL}{crmURL p="civicrm/contact/deduperules" q="reset=1" a=1}{/capture}
{ts}Done{/ts}
{/if}
{else} {include file="CRM/Contact/Form/DedupeFind.tpl"} {/if} {* process the dupe contacts *} {include file='CRM/common/dedupe.tpl'} {literal} {/literal}