Merge pull request #20802 from civicrm/5.39
[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 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>
6a488035
TO
18 <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>
19</div>
20<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
bcd9e9f5 21{* Table for mapping data to CRM fields *}
6a488035 22 {include file="CRM/Contribute/Import/Form/MapTable.tpl}
bcd9e9f5 23
6a488035
TO
24<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
25 {$initHideBoxes}
26</div>
27{literal}
28<script type="text/javascript" >
29if ( document.getElementsByName("saveMapping")[0].checked ) {
30 document.getElementsByName("updateMapping")[0].checked = true;
31 document.getElementsByName("saveMapping")[0].checked = false;
bcd9e9f5 32}
6a488035 33</script>
232624b1 34{/literal}