commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / templates / CRM / Activity / Import / Form / MapField.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
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 <div class="crm-block crm-form-block crm-activity-import-mapfield-form-block">
27 {* Activity Import Wizard - Step 2 (map incoming data fields) *}
28 {* @var $form Contains the array for the form elements and other form associated information assigned to the template by the controller *}
29
30 {* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *}
31 {include file="CRM/common/WizardHeader.tpl"}
32
33 <div id="help">
34 <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>
35 {if $savedMapping}
36 <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>
37 {/if}
38 <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>
39 </div>
40 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
41 {* Table for mapping data to CRM fields *}
42 {include file="CRM/Activity/Import/Form/MapTable.tpl}
43 <br />
44
45 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
46 {$initHideBoxes}
47 {literal}
48 <script type="text/javascript" >
49 if ( document.getElementsByName("saveMapping")[0].checked ) {
50 document.getElementsByName("updateMapping")[0].checked = true;
51 document.getElementsByName("saveMapping")[0].checked = false;
52 }
53 </script>
54 {/literal}
55 </div>