2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
26 {* Export Wizard - Data Mapping table used by MapFields.tpl and Preview.tpl *}
31 <tr class="columnheader-dark"><th colspan="4">{ts 1=$savedName}Using Field Mapping: %1{/ts}</td></tr>
33 <tr class="columnheader">
34 <th>{ts}Fields to Include in Export File{/ts}</th>
36 {*section name=cols loop=$columnCount*}
37 {section name=cols loop=$columnCount.1}
38 {assign var="i" value=$smarty.section.cols.index}
40 <td class="form-item even-row">
41 {$form.mapper.1[$i].html}
47 <td class="form-item even-row underline-effect">
48 {$form.addMore.1.html}
57 <span>{$form.updateMapping.html}{$form.updateMapping.label} </span>
59 <span>{$form.saveMapping.html}{$form.saveMapping.label}</span>
60 <div id="saveDetails" class="form-item">
61 <table class="form-layout-compressed">
62 <tr><td class="label">{$form.saveMappingName.label}</td><td>{$form.saveMappingName.html}</td></tr>
63 <tr><td class="label">{$form.saveMappingDesc.label}</td><td>{$form.saveMappingDesc.html}</td></tr>
68 <script type="text/javascript">
69 {if $mappingDetailsError }
70 cj('#saveDetails').show();
72 cj('#saveDetails').hide();
76 function showSaveDetails(chkbox) {
78 document.getElementById("saveDetails").style.display = "block";
79 document.getElementById("saveMappingName").disabled = false;
80 document.getElementById("saveMappingDesc").disabled = false;
82 document.getElementById("saveDetails").style.display = "none";
83 document.getElementById("saveMappingName").disabled = true;
84 document.getElementById("saveMappingDesc").disabled = true;
88 cj('Select[id^="mapper[1]"][id$="[1]"]').addClass('huge');