Remove reference to built in contact types
[civicrm-core.git] / templates / CRM / Import / Form / DataSource.tpl
CommitLineData
9de67297
EM
1{*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
9*}
10
11{* Import Wizard - Step 1 (choose data source) *}
12<div class="crm-block crm-form-block crm-import-datasource-form-block">
13
14 {* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *}
15 {include file="CRM/common/WizardHeader.tpl"}
16 <div class="help">
17 {ts 1=$importEntity 2= $importEntities}The %1 Import Wizard allows you to easily upload %2 from other applications into CiviCRM.{/ts}
18 {ts}Files to be imported must be in the 'comma-separated-values' format (CSV) and must contain data needed to match an existing contact in your CiviCRM database.{/ts} {help id='upload'}
19 </div>
20
21 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
22 <table class="form-layout-compressed">
23 <tr class="crm-import-uploadfile-from-block-uploadFile">
24 <td class="label">{$form.uploadFile.label}</td>
25 <td class="html-adjust"> {$form.uploadFile.html}<br />
26 <span class="description">{ts}File format must be comma-separated-values (CSV).{/ts}</span>
27 <br /><span>{ts 1=$uploadSize}Maximum Upload File Size: %1 MB{/ts}</span>
28 </td>
29 </tr>
30 <tr class="crm-import-uploadfile-from-block-skipColumnHeader">
31 <td class="label"></td><td>{$form.skipColumnHeader.html}{$form.skipColumnHeader.label}<br />
32 <span class="description">
33 {ts}Check this box if the first row of your file consists of field names (Example: 'Contact ID', 'Amount').{/ts}
34 </span>
35 </td>
36 </tr>
0ac455f0
EM
37 {if array_key_exists('contactType', $form)}
38 <tr class="crm-import-uploadfile-from-block-contactType">
39 <td class="label">{$form.contactType.label}</td>
40 <td>{$form.contactType.html}<br />
41 <span class="description">
42 {ts 1=$importEntities}Select 'Individual' if you are importing %1 made by individual persons.{/ts}
ced523d9 43 {ts 1=$importEntities}Select 'Organization' or 'Household' if you are importing %1 made by contacts of that type.{/ts}
0ac455f0
EM
44 </span>
45 </td>
46 </tr>
47 {/if}
48 {if array_key_exists('onDuplicate', $form)}
49 <tr class="crm-import-uploadfile-from-block-onDuplicate">
50 <td class="label">{$form.onDuplicate.label}</td>
51 <td>{$form.onDuplicate.html} {help id="id-onDuplicate"}</td>
52 </tr>
53 {/if}
9de67297
EM
54 <tr class="crm-import-datasource-form-block-fieldSeparator">
55 <td class="label">{$form.fieldSeparator.label} {help id='id-fieldSeparator' file='CRM/Contact/Import/Form/DataSource'}</td>
56 <td>{$form.fieldSeparator.html}</td>
57 </tr>
0ac455f0 58 <tr class="crm-import-uploadfile-form-block-date">{include file="CRM/Core/Date.tpl"}</tr>
9de67297 59 {if $savedMapping}
0ac455f0 60 <tr class="crm-import-uploadfile-form-block-savedMapping">
9de67297
EM
61 <td>{$form.savedMapping.label}</td>
62 <td>{$form.savedMapping.html}<br />
63 <span class="description">{ts}If you want to use a previously saved import field mapping - select it here.{/ts}</span>
64 </td>
65 </tr>
66 {/if}
67 </table>
68 <div class="spacer"></div>
69
70 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
71</div>
72