]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Import/tpls/confirm.tpl
Release 6.3.0beta1
[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="row">
87                             <slot>{$MOD.LBL_CHARSET}</slot>
88                         </td>
89                         <td>
90                             <slot><select tabindex='4' name='importlocale_charset'>{$CHARSETOPTIONS}</select></slot>
91                         </td>
92                         <td scope="row">
93                             <slot>{$MOD.LBL_CUSTOM_DELIMITER}</slot>
94                         </td>
95                         <td>
96                             <slot><input type="text" id="custom_delimiter" name="custom_delimiter" value="{$CUSTOM_DELIMITER}" style="width: 5em;" maxlength="1" />
97                             {sugar_help text=$MOD.LBL_FIELD_DELIMETED_HELP}
98                             </slot>
99                         </td>
100                     </tr>
101                     <tr>
102                         <td scope="row">
103                             <slot>{$MOD.LBL_CUSTOM_ENCLOSURE}</slot>
104                         </td>
105                         <td>
106                             <slot>
107                                 <select name="custom_enclosure" id="custom_enclosure">
108                                 {$IMPORT_ENCLOSURE_OPTIONS}
109                                 </select>
110                                 <input type="text" name="custom_enclosure_other" id="custom_enclosure_other" style="display: none; width: 5em;" maxlength="1" />
111                             {sugar_help text=$MOD.LBL_ENCLOSURE_HELP}
112                             </slot>
113                         </td>
114                         <td scope="row">
115                         {$MOD.LBL_HAS_HEADER}
116                         </td>
117                         <td>
118                             <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}
119                         </td>
120                     </tr>
121                     <tr>
122                         <td scope="row"><slot>{$MOD.LBL_DATE_FORMAT}</slot></td>
123                         <td ><slot><select tabindex='4' name='importlocale_dateformat'>{$DATEOPTIONS}</select></slot></td>
124                         <td scope="row"><slot>{$MOD.LBL_TIME_FORMAT}</slot></td>
125                         <td ><slot><select tabindex='4' name='importlocale_timeformat'>{$TIMEOPTIONS}</select></slot></td>
126                     </tr>
127                     <tr>
128                         <td scope="row"><slot>{$MOD.LBL_TIMEZONE}</slot></td>
129                         <td ><slot><select tabindex='4' name='importlocale_timezone'>{html_options options=$TIMEZONEOPTIONS selected=$TIMEZONE_CURRENT}</select></slot></td>
130                         <td scope="row"><slot>{$MOD.LBL_CURRENCY}</slot></td>
131                         <td ><slot>
132                             <select tabindex='4' id='currency_select' name='importlocale_currency' onchange='setSymbolValue(this.selectedIndex);setSigDigits();'>{$CURRENCY}</select>
133                             <input type="hidden" id="symbol" value="">
134                         </slot></td>
135                     </tr>
136                     <tr>
137                         <td scope="row"><slot>{$MOD.LBL_CURRENCY_SIG_DIGITS}:</slot></td>
138                         <td ><slot><select id='sigDigits' onchange='setSigDigits(this.value);' name='importlocale_default_currency_significant_digits'>{$sigDigits}</select>
139                         </slot></td>
140                         <td scope="row"><slot><i>{$MOD.LBL_LOCALE_EXAMPLE_NAME_FORMAT}</i>:</slot></td>
141                         <td ><slot><input type="text" disabled id="sigDigitsExample" name="sigDigitsExample"></slot></td>
142                     </tr>
143                     <tr>
144                         <td scope="row"><slot>{$MOD.LBL_NUMBER_GROUPING_SEP}</slot></td>
145                         <td ><slot>
146                             <input tabindex='4' name='importlocale_num_grp_sep' id='default_number_grouping_seperator'
147                                    type='text' maxlength='1' size='1' value='{$NUM_GRP_SEP}' onkeydown='setSigDigits();' onkeyup='setSigDigits();'>
148                         </slot></td>
149                         <td scope="row"><slot>{$MOD.LBL_DECIMAL_SEP}</slot></td>
150                         <td ><slot>
151                             <input tabindex='4' name='importlocale_dec_sep' id='default_decimal_seperator'
152                                    type='text' maxlength='1' size='1' value='{$DEC_SEP}' onkeydown='setSigDigits();' onkeyup='setSigDigits();'>
153                         </slot></td>
154                     </tr>
155                     <tr>
156                         <td scope="row" valign="top">{$MOD.LBL_LOCALE_DEFAULT_NAME_FORMAT}: </td>
157                         <td  valign="top">
158                             <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}">
159                             <br />{$MOD.LBL_LOCALE_NAME_FORMAT_DESC}
160                         </td>
161                         <td scope="row" valign="top"><i>{$MOD.LBL_LOCALE_EXAMPLE_NAME_FORMAT}:</i> </td>
162                         <td  valign="top"><input tabindex='4' id="nameTarget" name="no_value" id=":q" value="" style="border: none;" disabled size="50"></td>
163                     </tr>
164                 </table>
165             </div>
166                 
167             </td>
168         </tr>
169         <tr>
170             <td colspan="2"><div class="hr" style="margin-top: 0px;"></div></td>
171         </tr>
172         <tr>
173             <td colspan="2"><h3>{$MOD.LBL_THIRD_PARTY_CSV_SOURCES}&nbsp;{sugar_help text=$MOD.LBL_THIRD_PARTY_CSV_SOURCES_HELP}</h3></td>
174         </tr>
175         <tr>
176             <td colspan="2" scope="row"><input class="radio" type="radio" name="external_source" value="" id='none'/>&nbsp;{$MOD.LBL_NONE}</td>
177         </tr>
178         <tr>
179             <td colspan="2" scope="row"><input class="radio" type="radio" name="external_source" value="salesforce" id='sf_map'/>&nbsp;{$MOD.LBL_SALESFORCE}</td>
180         </tr>
181         <tr>
182             <td colspan="2" scope="row"><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>
183         </tr>
184         <tr>
185             <td colspan="2">&nbsp;</td>
186         </tr>
187     </table>