{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *}
{$other_name} ({ts}duplicate{/ts}) | {ts}Mark All{/ts} =={$form.toggleSelect.html} ==> |
{$main_name} | Add/overwrite? | |||
---|---|---|---|---|---|---|
Last modified | {$other_result.values.0.modified_date|date_format:"%d/%m/%y %H:%M:%S"} {if $other_result.values.0.modified_date gt $main_result.values.0.modified_date} (Most recent) {/if} | {$main_result.values.0.modified_date|date_format:"%d/%m/%y %H:%M:%S"} {if $main_result.values.0.modified_date gt $other_result.values.0.modified_date} (Most recent) {/if} | ||||
{$row.title} | {else} {if $row.main eq $row.other}||||||
{$row.title} | {/if}{if $row.title|substr:0:7 == "Address"}{else}{/if}{if !is_array($row.other)}{$row.other}{elseif $row.other.fileName}{$row.other.fileName}{else}{', '|implode:$row.other}{/if} | {if $form.$field}=={$form.$field.html|crmAddClass:"select-row"}==>{/if} | {assign var=position value=$field|strrpos:'_'} {assign var=blockId value=$field|substr:$position+1} {assign var=blockName value=$field|substr:14:$position-14} {* For location blocks *} {if $row.title|substr:0:5 == "Email" OR $row.title|substr:0:7 == "Address" OR $row.title|substr:0:2 == "IM" OR $row.title|substr:0:7 == "Website" OR $row.title|substr:0:5 == "Phone"}{if $row.title|substr:0:7 == "Address"}{else}{/if}{if !is_array($row.main)}{$row.main}{elseif $row.main.fileName}{$row.main.fileName}{else}{', '|implode:$row.main}{/if} |
{if $blockName eq 'email' || $blockName eq 'phone' || $blockName eq 'address' || $blockName eq 'im' }
{$form.location.$blockName.$blockId.locTypeId.html}
{/if}
{* Display other_type_id for websites, ims and phones *}
{if $blockName eq 'website' || $blockName eq 'im' || $blockName eq 'phone' }
{$form.type.$blockName.$blockId.typeTypeId.html}
{/if}
{if $blockName eq 'email' || $blockName eq 'phone' || $blockName eq 'website' || $blockName eq 'im' }
{if $row.main}
(overwrite){$form.location.$blockName.$blockId.html} {else} (add) {/if} {/if} {literal} {/literal} |
{* For non-location blocks *}
{else}
{if !is_array($row.main)} {$row.main} {elseif $row.main.fileName} {$row.main.fileName} {else} {', '|implode:$row.main} {/if} |
{if isset($row.main) || isset($row.other)}
{if $row.main}
(overwrite) {else} (add) {/if} {/if} |
{/if}
{ts}Move related...{/ts} | {if $otherUfId}{$otherUfName} | =={$form.$paramName.html|crmAddClass:"select-row"}==>{else} | {/if} | {if $mainUfId}{$mainUfName}{/if} | (migrate) | |
{ts}Move related...{/ts} | {$params.title} | =={$form.$paramName.html|crmAddClass:"select-row"}==> | {$params.title}{if $form.operation.$paramName.add.html} {$form.operation.$paramName.add.html}{/if} | (migrate) |