Merge pull request #23085 from civicrm/5.48
[civicrm-core.git] / templates / CRM / Member / 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<div class="crm-block crm-form-block crm-member-import-mapfield-form-block">
11{* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *}
12{include file="CRM/common/WizardHeader.tpl"}
f6eedce7 13<div class="help">
6a488035 14 <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
15 <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>
16</div>
17<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
18{* Membership Import Wizard - Step 2 (map incoming data fields) *}
19{* @var $form Contains the array for the form elements and other form associated information assigned to the template by the controller *}
20
21 {* Table for mapping data to CRM fields *}
22 {include file="CRM/Member/Import/Form/MapTable.tpl}
31037a42 23
6a488035
TO
24<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
25</div>
130cbf65 26 {$initHideBoxes|smarty:nodefaults}
6a488035
TO
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;
31037a42 32}
6a488035 33</script>
232624b1 34{/literal}