]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Import/tpls/step3.tpl
Release 6.4.0
[Github/sugarcrm.git] / modules / Import / tpls / step3.tpl
1 {*
2
3 /*********************************************************************************
4  * SugarCRM Community Edition is a customer relationship management program developed by
5  * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
6  * 
7  * This program is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU Affero General Public License version 3 as published by the
9  * Free Software Foundation with the addition of the following permission added
10  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
11  * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
12  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
13  * 
14  * This program is distributed in the hope that it will be useful, but WITHOUT
15  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
17  * details.
18  * 
19  * You should have received a copy of the GNU Affero General Public License along with
20  * this program; if not, see http://www.gnu.org/licenses or write to the Free
21  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22  * 02110-1301 USA.
23  * 
24  * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
25  * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
26  * 
27  * The interactive user interfaces in modified source and object code versions
28  * of this program must display Appropriate Legal Notices, as required under
29  * Section 5 of the GNU Affero General Public License version 3.
30  * 
31  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
32  * these Appropriate Legal Notices must retain the display of the "Powered by
33  * SugarCRM" logo. If the display of the logo is not reasonably feasible for
34  * technical reasons, the Appropriate Legal Notices must display the words
35  * "Powered by SugarCRM".
36  ********************************************************************************/
37
38
39
40
41 *}
42
43 {$CSS}
44
45 {$INSTRUCTION}
46
47
48 <form enctype="multipart/form-data" real_id="importstep3" id="importstep3" name="importstep3" method="POST" action="index.php">
49 <input type="hidden" name="module" value="Import">
50 <input type="hidden" name="previous_action" value="Confirm">
51 <input type="hidden" name="custom_delimiter" value="{$CUSTOM_DELIMITER}">
52 <input type="hidden" name="custom_enclosure" value="{$CUSTOM_ENCLOSURE}">
53 <input type="hidden" name="import_type" value="{$TYPE}">
54 <input type="hidden" name="source" value="{$smarty.request.source}">
55 <input type="hidden" name="source_id" value="{$smarty.request.source_id}">
56 <input type="hidden" name="action" value="Step3">
57 <input type="hidden" name="import_module" value="{$IMPORT_MODULE}">
58 <input type="hidden" name="has_header" value="{$HAS_HEADER}">
59 <input type="hidden" name="tmp_file" value="{$TMP_FILE}">
60 <input type="hidden" name="tmp_file_base" value="{$TMP_FILE}">
61 <input type="hidden" name="firstrow" value="{$FIRSTROW}">
62 <input type="hidden" name="columncount" value ="{$COLUMNCOUNT}">
63 <input type="hidden" name="current_step" value="{$CURRENT_STEP}">
64 <input type="hidden" name="importlocale_charset" value="{$smarty.request.importlocale_charset}">
65 <input type="hidden" name="importlocale_dateformat" value="{$smarty.request.importlocale_dateformat}">
66 <input type="hidden" name="importlocale_timeformat" value="{$smarty.request.importlocale_timeformat}">
67 <input type="hidden" name="importlocale_timezone" value="{$smarty.request.importlocale_timezone}">
68 <input type="hidden" name="importlocale_currency" value="{$smarty.request.importlocale_currency}">
69 <input type="hidden" name="importlocale_default_currency_significant_digits" value="{$smarty.request.importlocale_default_currency_significant_digits}">
70 <input type="hidden" name="importlocale_num_grp_sep" value="{$smarty.request.importlocale_num_grp_sep}">
71 <input type="hidden" name="importlocale_dec_sep" value="{$smarty.request.importlocale_dec_sep}">
72 <input type="hidden" name="importlocale_default_locale_name_format" value="{$smarty.request.importlocale_default_locale_name_format}">
73 <input type="hidden" name="from_admin_wizard" value="{$smarty.request.from_admin_wizard}">
74     
75 <br>
76 {if $NOTETEXT != ''}
77     <p>
78         <input title="{$MOD.LBL_SHOW_ADVANCED_OPTIONS}" accessKey="" id="toggleNotes" class="button" type="button"
79                        name="button" value="  {$MOD.LBL_SHOW_NOTES}  ">
80         <div id="importNotes" style="display: none;">
81             <ul>
82                 {$NOTETEXT}
83             </ul>
84         </div>
85     </p>
86 {/if}
87
88 <div class="hr"></div>
89
90
91 <table border="0" cellspacing="0" cellpadding="0" width="100%" id="importTable" class="detail view">
92 {foreach from=$rows key=key item=item name=rows}
93 {if $smarty.foreach.rows.first}
94 <tr>
95     {if $HAS_HEADER == 'on'}
96     <th style="text-align: left;" scope="col">
97         <b>{$MOD.LBL_HEADER_ROW}</b>&nbsp;
98         {sugar_help text=$MOD.LBL_HEADER_ROW_HELP}
99     </th>
100     {/if}
101     <th style="text-align: left;" scope="col">
102         <b>{$MOD.LBL_DATABASE_FIELD}</b>&nbsp;
103         {sugar_help text=$MOD.LBL_DATABASE_FIELD_HELP}
104     </th>
105     <th style="text-align: left;" scope="col">
106         <b>{$MOD.LBL_ROW} 1</b>&nbsp;
107         {sugar_help text=$MOD.LBL_ROW_HELP}
108     </th>
109     {if $HAS_HEADER != 'on'}
110     <th style="text-align: left;" scope="col"><b>{$MOD.LBL_ROW} 2</b></td>
111     {/if}
112     <th scope='col' style="text-align: left;" scope="rcol" id="default_column_header" width="10%">
113         <span id="hide_default_link" class="expand">&nbsp;<b id="">{$MOD.LBL_DEFAULT_VALUE}</b>&nbsp;
114         {sugar_help text=$MOD.LBL_DEFAULT_VALUE_HELP}</span>
115         <span id="default_column_header_span">&nbsp;</span>
116     </th>
117 </tr>
118 {/if}
119 <tr>
120     {if $HAS_HEADER == 'on'}
121     <td id="row_{$smarty.foreach.rows.index}_header">{$item.cell1}</td>
122     {/if}
123     <td valign="top" align="left" id="row_{$smarty.foreach.rows.index}_col_0">
124         <select class='fixedwidth' name="colnum_{$smarty.foreach.rows.index}">
125             <option value="-1">{$MOD.LBL_DONT_MAP}</option>
126             {$item.field_choices}
127         </select>
128     </td>
129     {if $item.show_remove}
130     <td colspan="2">
131         <input title="{$MOD.LBL_REMOVE_ROW}" accessKey=""
132             id="deleterow_{$smarty.foreach.rows.index}" class="button" type="button"
133             value="  {$MOD.LBL_REMOVE_ROW}  ">
134     </td>
135     {else}
136     {if $HAS_HEADER != 'on'}
137     <td id="row_{$smarty.foreach.rows.index}_col_1" scope="row">{$item.cell1}</td>
138     {/if}
139     <td id="row_{$smarty.foreach.rows.index}_col_2" scope="row" colspan="2">{$item.cell2}</td>
140     {/if}
141     <td id="defaultvaluepicker_{$smarty.foreach.rows.index}" nowrap="nowrap">
142         {$item.default_field}
143     </td>
144 </tr>
145 {/foreach}
146 <tr>
147     <td align="left" colspan="4">
148         <input title="{$MOD.LBL_ADD_ROW}" accessKey="" id="addrow" class="button" type="button"
149             name="button" value="  {$MOD.LBL_ADD_ROW}  "> {sugar_help text=$MOD.LBL_ADD_FIELD_HELP}
150         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
151     </td>
152 </tr>
153 </table>
154
155 <br />
156
157 <table width="100%" cellpadding="2" cellspacing="0" border="0">
158 <tr>
159     <td align="left">
160         <input title="{$MOD.LBL_BACK}" accessKey="" id="goback" class="button" type="submit" name="button" value="  {$MOD.LBL_BACK}  ">&nbsp;
161         <input title="{$MOD.LBL_NEXT}" accessKey="" id="gonext" class="button" type="submit" name="button" value="  {$MOD.LBL_NEXT}  ">
162     </td>
163 </tr>
164 </table>
165
166 {$QS_JS}