Merge pull request #15843 from totten/master-simplehead
[civicrm-core.git] / templates / CRM / Contribute / Import / Form / MapField.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 4 | |
1188c7a8
TO
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 |
6a488035
TO
8 +--------------------------------------------------------------------+
9*}
10{* Contribution Import Wizard - Step 2 (map incoming data fields) *}
11{* @var $form Contains the array for the form elements and other form associated information assigned to the template by the controller *}
fb93f295 12<div class="crm-block crm-form-block crm-contribution-import-form-block" id="upload-file">
6a488035
TO
13 {* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *}
14 {include file="CRM/common/WizardHeader.tpl"}
15
f6eedce7 16 <div class="help">
6a488035
TO
17 <p>{ts}Review the values shown below from the first 2 rows of your import file and select the matching CiviCRM database fields from the drop-down lists in the right-hand column. Select '- do not import -' for any columns in the import file that you want ignored.{/ts}</p>
18 {if $savedMapping}
19 <p>{ts}Click 'Load Saved Field Mapping' if data has been previously imported from the same source. You can then select the saved import mapping setup and load it automatically.{/ts}<p>
20 {/if}
21 <p>{ts}If you think you may be importing additional data from the same data source, check 'Save this field mapping' at the bottom of the page before continuing. The saved mapping can then be easily reused the next time data is imported.{/ts}</p>
22</div>
23<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
bcd9e9f5 24{* Table for mapping data to CRM fields *}
6a488035 25 {include file="CRM/Contribute/Import/Form/MapTable.tpl}
bcd9e9f5 26
6a488035
TO
27<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
28 {$initHideBoxes}
29</div>
30{literal}
31<script type="text/javascript" >
32if ( document.getElementsByName("saveMapping")[0].checked ) {
33 document.getElementsByName("updateMapping")[0].checked = true;
34 document.getElementsByName("saveMapping")[0].checked = false;
bcd9e9f5 35}
6a488035 36</script>
232624b1 37{/literal}