]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Import/tpls/confirm.tpl
Release 6.4.0
[Github/sugarcrm.git] / modules / Import / tpls / confirm.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 {$INSTRUCTION}
44
45 <div class="hr"></div>
46
47 <form enctype="multipart/form-data" real_id="importconfirm" id="importconfirm" name="importconfirm" method="POST" action="index.php">
48 <input type="hidden" name="module" value="Import">
49 <input type="hidden" name="type" value="{$TYPE}">
50 <input type="hidden" name="source" id="source" value="{$SOURCE}">
51 <input type="hidden" name="source_id" value="{$SOURCE_ID}">
52 <input type="hidden" name="action" value="Step3">
53 <input type="hidden" name="import_module" value="{$IMPORT_MODULE}">
54 <input type="hidden" name="import_type" value="{$TYPE}">
55 <input type="hidden" name="file_name" value="{$FILE_NAME}">
56 <input type="hidden" name="current_step" value="{$CURRENT_STEP}">
57 <input type="hidden" name="from_admin_wizard" value="{$smarty.request.from_admin_wizard}">
58     
59 {if $AUTO_DETECT_ERROR != ''}
60     <div class="errorMessage">
61         <span class="error">{$AUTO_DETECT_ERROR}</span>
62     </div>
63 {/if}
64
65 <div id="confirm_table" class="confirmTable">
66 {include file='modules/Import/tpls/confirm_table.tpl'}
67 </div>
68
69
70
71     <table cellpadding="0" cellspacing="0" width="100%">
72         <tr>
73             <td align="left" colspan="4" style="background: transparent;">
74                 <input title="{$MOD.LBL_SHOW_ADVANCED_OPTIONS}" accessKey="" id="toggleImportOptions" class="button" type="button"
75                        name="button" value="  {$MOD.LBL_SHOW_ADVANCED_OPTIONS}  "> {sugar_help text=$MOD.LBL_IMPORT_FILE_SETTINGS_HELP}
76             </td>
77         </tr>
78         <tr>
79             <td>&nbsp;</td>
80         </tr>
81         <tr>
82             <td>
83             <div style="overflow: auto; width: 1056px;">
84                 <table border=0 class="edit view noBorder" style="display: none;" id="importOptions">
85                     <tr>
86                         <td scope="col">
87                             <slot><label for="importlocale_charset">{$MOD.LBL_CHARSET}</label></slot>
88                         </td>
89                         <td>
90                             <slot><select tabindex='4' id='importlocale_charset'  name='importlocale_charset'>{$CHARSETOPTIONS}</select></slot>
91                         </td>
92                         <td scope="col">
93                             <slot><label for="custom_delimiter">{$MOD.LBL_CUSTOM_DELIMITER}</label></slot>
94                         </td>
95                         <td>
96                             <slot>
97                                 <select name="custom_delimiter" id="custom_delimiter"> {$IMPORT_DELIMETER_OPTIONS}</select>
98                                 <input type="text" name="custom_delimiter_other" id="custom_delimiter_other" style="display: none; width: 5em;" maxlength="1" />
99                                 {sugar_help text=$MOD.LBL_FIELD_DELIMETED_HELP}
100                             </slot>
101                         </td>
102                     </tr>
103                     <tr>
104                         <td scope="col">
105                             <slot><label for="custom_enclosure">{$MOD.LBL_CUSTOM_ENCLOSURE}</label></slot>
106                         </td>
107                         <td>
108                             <slot>
109                                 <select name="custom_enclosure" id="custom_enclosure">
110                                 {$IMPORT_ENCLOSURE_OPTIONS}
111                                 </select>
112                                 <input type="text" name="custom_enclosure_other" id="custom_enclosure_other" style="display: none; width: 5em;" maxlength="1" />
113                             {sugar_help text=$MOD.LBL_ENCLOSURE_HELP}
114                             </slot>
115                         </td>
116                         <td scope="col">
117                         <label for="has_header">{$MOD.LBL_HAS_HEADER}</label>
118                         </td>
119                         <td>
120                             <input class="checkBox" value='on' type="checkbox" name="has_header" id="has_header" {$HAS_HEADER_CHECKED}> {sugar_help text=$MOD.LBL_HEADER_ROW_OPTION_HELP}
121                         </td>
122                     </tr>
123                     <tr>
124                         <td scope="col"><slot><label for="importlocale_dateformat">{$MOD.LBL_DATE_FORMAT}</label></slot></td>
125                         <td ><slot><select tabindex='4' name='importlocale_dateformat' id='importlocale_dateformat'>{$DATEOPTIONS}</select></slot></td>
126                         <td scope="col"><slot><label for="importlocale_time_format">{$MOD.LBL_TIME_FORMAT}</label></slot></td>
127                         <td ><slot><select tabindex='4' id='importlocale_time_format' name='importlocale_timeformat'>{$TIMEOPTIONS}</select></slot></td>
128                     </tr>
129                     <tr>
130                         <td scope="col"><slot><label for="importlocale_timezone">{$MOD.LBL_TIMEZONE}</label></slot></td>
131                         <td ><slot><select tabindex='4' name='importlocale_timezone' id='importlocale_timezone'>{html_options options=$TIMEZONEOPTIONS selected=$TIMEZONE_CURRENT}</select></slot></td>
132                         <td scope="col"><slot><label for="currency_select">{$MOD.LBL_CURRENCY}</label></slot></td>
133                         <td ><slot>
134                             <select tabindex='4' id='currency_select' name='importlocale_currency' onchange='setSymbolValue(this.selectedIndex);setSigDigits();'>{$CURRENCY}</select>
135                             <input type="hidden" id="symbol" value="">
136                         </slot></td>
137                     </tr>
138                     <tr>
139                         <td scope="col"><slot><label for="sigDigits">{$MOD.LBL_CURRENCY_SIG_DIGITS}:</label></slot></td>
140                         <td ><slot><select id='sigDigits' onchange='setSigDigits(this.value);' name='importlocale_default_currency_significant_digits'>{$sigDigits}</select>
141                         </slot></td>
142                         <td scope="col"><slot><i>{$MOD.LBL_LOCALE_EXAMPLE_NAME_FORMAT}</i>:</slot></td>
143                         <td ><slot><input type="text" disabled id="sigDigitsExample" name="sigDigitsExample"></slot></td>
144                     </tr>
145                     <tr>
146                         <td scope="col"><slot><label for="default_number_grouping_seperator">{$MOD.LBL_NUMBER_GROUPING_SEP}</label></slot></td>
147                         <td ><slot>
148                             <input tabindex='4' name='importlocale_num_grp_sep' id='default_number_grouping_seperator'
149                                    type='text' maxlength='1' size='1' value='{$NUM_GRP_SEP}' onkeydown='setSigDigits();' onkeyup='setSigDigits();'>
150                         </slot></td>
151                         <td scope="col"><slot><label for="default_decimal_seperator">{$MOD.LBL_DECIMAL_SEP}</label></slot></td>
152                         <td ><slot>
153                             <input tabindex='4' name='importlocale_dec_sep' id='default_decimal_seperator'
154                                    type='text' maxlength='1' size='1' value='{$DEC_SEP}' onkeydown='setSigDigits();' onkeyup='setSigDigits();'>
155                         </slot></td>
156                     </tr>
157                     <tr>
158                         <td scope="col" valign="top"><label for="default_locale_name_format">{$MOD.LBL_LOCALE_DEFAULT_NAME_FORMAT}</label>: </td>
159                         <td  valign="top">
160                             <input onkeyup="setPreview();" onkeydown="setPreview();" id="default_locale_name_format" type="text" tabindex='4' name="importlocale_default_locale_name_format" value="{$default_locale_name_format}">
161                             <br />{$MOD.LBL_LOCALE_NAME_FORMAT_DESC}
162                         </td>
163                         <td scope="col" valign="top"><i>{$MOD.LBL_LOCALE_EXAMPLE_NAME_FORMAT}:</i> </td>
164                         <td  valign="top"><input tabindex='4' id="nameTarget" name="no_value" id=":q" value="" style="border: none;" disabled size="50"></td>
165                     </tr>
166                 </table>
167             </div>
168                 
169             </td>
170         </tr>
171         <tr>
172             <td colspan="2"><div class="hr" style="margin-top: 0px;"></div></td>
173         </tr>
174         <tr>
175             <td colspan="2" scope="col"><h3><label for="external_source">{$MOD.LBL_THIRD_PARTY_CSV_SOURCES}</label>&nbsp;{sugar_help text=$MOD.LBL_THIRD_PARTY_CSV_SOURCES_HELP}</h3></td>
176         </tr>
177         <tr>
178             <td colspan="2"><input class="radio" type="radio" name="external_source" value="" id='none' checked='checked'/>&nbsp;{$MOD.LBL_NONE}</td>
179         </tr>
180         <tr>
181             <td colspan="2"><input class="radio" type="radio" name="external_source" value="salesforce" id='sf_map'/>&nbsp;{$MOD.LBL_SALESFORCE}</td>
182         </tr>
183         <tr>
184             <td colspan="2"><input class="radio" type="radio" name="external_source" value="outlook" id='outlook_map'/>&nbsp;{$MOD.LBL_MICROSOFT_OUTLOOK}&nbsp;{sugar_help text=$MOD.LBL_MICROSOFT_OUTLOOK_HELP}</td>
185         </tr>
186         <tr>
187             <td colspan="2">&nbsp;</td>
188         </tr>
189     </table>
190
191     <table width="100%" cellpadding="2" cellspacing="0" border="0">
192         <tr>
193             <td align="left">
194                 <input title="{$MOD.LBL_BACK}" accessKey="" id="goback" class="button" type="submit" name="button" value="  {$MOD.LBL_BACK}  ">&nbsp;
195                 <input title="{$MOD.LBL_NEXT}" accessKey="" class="button" type="submit" name="button" value="  {$MOD.LBL_NEXT}  " id="gonext">
196             </td>
197         </tr>
198     </table>
199 </form>