Commit | Line | Data |
---|---|---|
9ff5f6c0 N |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
819d0d41 | 3 | | CiviCRM version 4.5 | |
9ff5f6c0 | 4 | +--------------------------------------------------------------------+ |
819d0d41 | 5 | | Copyright CiviCRM LLC (c) 2004-2014 | |
9ff5f6c0 N |
6 | +--------------------------------------------------------------------+ |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
9 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
10 | | under the terms of the GNU Affero General Public License | | |
11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
12 | | | | |
13 | | CiviCRM is distributed in the hope that it will be useful, but | | |
14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
16 | | See the GNU Affero General Public License for more details. | | |
17 | | | | |
18 | | You should have received a copy of the GNU Affero General Public | | |
19 | | License and the CiviCRM Licensing Exception along | | |
20 | | with this program; if not, contact CiviCRM LLC | | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
24 | +--------------------------------------------------------------------+ | |
25 | *} | |
26 | ||
59f0af7e | 27 | {* Multi-value Custom Data Import Wizard - Step 1 (upload data file) *} |
9ff5f6c0 N |
28 | {* @var $form Contains the array for the form elements and other form associated information assigned to the template by the controller *} |
29 | ||
59f0af7e | 30 | <div class="crm-block crm-form-block crm-custom-import-uploadfile-form-block"> |
9ff5f6c0 N |
31 | {* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *} |
32 | {include file="CRM/common/WizardHeader.tpl"} | |
33 | ||
34 | <div id="help"> | |
59f0af7e DG |
35 | {ts}The Multi-value Custom Data Import Wizard allows you to easily upload data to populate multi-value custom data records (such as employment or education history) for existing contacts.{/ts} |
36 | {ts}Files to be imported must be in the 'comma-separated-values' format (CSV) and must contain data needed to match the incoming data to an existing contact record in your CiviCRM database.{/ts} {help id='upload'} | |
9ff5f6c0 N |
37 | </div> |
38 | <div id="upload-file" class="form-item"> | |
39 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> | |
40 | <table class="form-layout"> | |
59f0af7e | 41 | <tr class="crm-custom-import-entity-form-block-entity"> |
9ff5f6c0 N |
42 | <td class="label">{$form.entity.label}</td> |
43 | <td>{$form.entity.html}</td> | |
44 | </tr> | |
59f0af7e | 45 | <tr class="crm-custom-import-uploadfile-form-block-uploadFile"> |
9ff5f6c0 N |
46 | <td class="label">{$form.uploadFile.label}</td> |
47 | <td>{$form.uploadFile.html}<br /> | |
48 | <span class="description"> | |
49 | {ts}File format must be comma-separated-values (CSV).{/ts} | |
50 | </span> | |
51 | </td> | |
52 | </tr> | |
53 | <tr> | |
54 | <td> </td> | |
55 | <td>{ts 1=$uploadSize}Maximum Upload File Size: %1 MB{/ts}</td> | |
56 | </tr> | |
57 | <tr class="crm-import-form-block-skipColumnHeader"> | |
58 | <td> </td> | |
59 | <td>{$form.skipColumnHeader.html} {$form.skipColumnHeader.label}<br /> | |
60 | <span class="description"> | |
61 | {ts}Check this box if the first row of your file consists of field names (Example: "Contact ID", "Participant Role").{/ts} | |
62 | </span> | |
63 | </td> | |
64 | </tr> | |
59f0af7e | 65 | <tr class="crm-custom-import-uploadfile-form-block-multipleCustomData"> |
9ff5f6c0 N |
66 | <td class="label">{$form.multipleCustomData.label}</dt> |
67 | <td><span>{$form.multipleCustomData.html}</span> </td> | |
68 | </tr> | |
59f0af7e | 69 | <tr class="crm-custom-import-uploadfile-from-block-contactType"> |
9ff5f6c0 N |
70 | <td class="label">{$form.contactType.label}</td> |
71 | <td>{$form.contactType.html}<br /> | |
72 | <span class="description"> | |
73 | {ts}Select 'Individual' if you are importing custom data for individual persons.{/ts} | |
74 | {ts}Select 'Organization' or 'Household' if you are importing custom data . (NOTE: Some built-in contact types may not be enabled for your site.){/ts} | |
75 | </span> | |
76 | </td> | |
77 | </tr> | |
59f0af7e | 78 | <tr class="crm-custom-import-uploadfile-form-block-date_format"> |
9ff5f6c0 N |
79 | {include file="CRM/Core/Date.tpl"} |
80 | </tr> | |
81 | {if $savedMapping} | |
59f0af7e | 82 | <tr class="crm-custom-import-uploadfile-form-block-savedMapping"> |
9ff5f6c0 N |
83 | <td class="label">{if $loadedMapping}{ts}Select a Different Field Mapping{/ts}{else}{ts}Load Saved Field Mapping{/ts}{/if}</dt> |
84 | <td><span>{$form.savedMapping.html}</span> </td> | |
85 | </tr> | |
86 | <tr> | |
87 | <td> </td> | |
88 | <td class="description">{ts}Select Saved Mapping, or leave blank to create a new mapping.{/ts}</td> | |
89 | {/if} | |
90 | </tr> | |
91 | </table> | |
92 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> | |
93 | </div> | |
94 | </div> |