Ian province abbreviation patch - issue 724
[civicrm-core.git] / templates / CRM / Contribute / Import / Form / MapField.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
2c4c49ca 3 | CiviCRM version 4.7 |
6a488035 4 +--------------------------------------------------------------------+
e7112fa7 5 | Copyright CiviCRM LLC (c) 2004-2015 |
6a488035
TO
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{* Contribution Import Wizard - Step 2 (map incoming data fields) *}
27{* @var $form Contains the array for the form elements and other form associated information assigned to the template by the controller *}
fb93f295 28<div class="crm-block crm-form-block crm-contribution-import-form-block" id="upload-file">
6a488035
TO
29 {* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *}
30 {include file="CRM/common/WizardHeader.tpl"}
31
32 <div id="help">
33 <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>
34 {if $savedMapping}
35 <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>
36 {/if}
37 <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>
38</div>
39<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
bcd9e9f5 40{* Table for mapping data to CRM fields *}
6a488035 41 {include file="CRM/Contribute/Import/Form/MapTable.tpl}
bcd9e9f5 42
6a488035
TO
43<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
44 {$initHideBoxes}
45</div>
46{literal}
47<script type="text/javascript" >
48if ( document.getElementsByName("saveMapping")[0].checked ) {
49 document.getElementsByName("updateMapping")[0].checked = true;
50 document.getElementsByName("saveMapping")[0].checked = false;
bcd9e9f5 51}
6a488035 52</script>
232624b1 53{/literal}