{include file="common/head.tpl.html" html5=true}
{if $configure} {$lang.admin_dupecheck_fieldconfig}: {$module_label} {else} {$lang.csvimport_check_duplicate}: {$module_label} {/if}
{help->link name="admin_mod_duplicate_window" class="help-explorer"}
{if !$configure} {/if}
{$lang.admin_msg_run_dupecheck}
{$lang.csvimport_select_fields}:
{foreach item=arr from=$crmfields} {foreach key=idx item=field from=$arr} {/foreach} {/foreach}
{if in_array($idx,$storage)} {html->checkbox name="$idx" value="1" selected=1 output=$field} {else} {html->checkbox name="$idx" value="1" selected=0 output=$field} {/if}
 
{if $configure || $csvimport} {cssbutton->sub name="save" string=$lang.global_save} {else} {cssbutton->sub name="execute" string=$lang.global_execute} {/if} {cssbutton->click script="window.close()" string=$lang.global_close tabindex="2"}
{include file="common/foot.tpl.html"}