]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Configurator/tpls/EditView.tpl
Release 6.5.0
[Github/sugarcrm.git] / modules / Configurator / tpls / EditView.tpl
1 {*
2
3 /*********************************************************************************
4  * SugarCRM Community Edition is a customer relationship management program developed by
5  * SugarCRM, Inc. Copyright (C) 2004-2012 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 <form name="ConfigureSettings" enctype='multipart/form-data' method="POST" action="index.php" onSubmit="return (add_checks(document.ConfigureSettings) && check_form('ConfigureSettings'));">
43 <input type='hidden' name='action' value='SaveConfig'/>
44 <input type='hidden' name='module' value='Configurator'/>
45 <span class='error'>{$error.main}</span>
46 <table width="100%" cellpadding="0" cellspacing="1" border="0" class="actionsContainer">
47 <tr>
48
49         <td>
50                 <input title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" class="button primary" id="ConfigureSettings_save_button" type="submit"  name="save" value="  {$APP.LBL_SAVE_BUTTON_LABEL}  " >
51                 &nbsp;<input title="{$MOD.LBL_SAVE_BUTTON_TITLE}"  id="ConfigureSettings_restore_button"  class="button"  type="submit" name="restore" value="  {$MOD.LBL_RESTORE_BUTTON_LABEL}  " >
52                 &nbsp;<input title="{$MOD.LBL_CANCEL_BUTTON_TITLE}" id="ConfigureSettings_cancel_button"   onclick="document.location.href='index.php?module=Administration&action=index'" class="button"  type="button" name="cancel" value="  {$APP.LBL_CANCEL_BUTTON_LABEL}  " > </td>
53         </tr>
54 </table>
55
56
57 <table width="100%" border="0" cellspacing="1" cellpadding="0" class="edit view">
58 <tr>
59         <th align="left" scope="row" colspan="4"><h4>{$MOD.DEFAULT_SYSTEM_SETTINGS}</h4></th>
60 </tr>
61
62         <tr>
63                 <td  scope="row">{$MOD.LIST_ENTRIES_PER_LISTVIEW}: </td>
64                 <td  >
65                         <input type='text' size='4' id='ConfigureSettings_list_max_entries_per_page' name='list_max_entries_per_page' value='{$config.list_max_entries_per_page}'>
66                 </td>
67                 <td  scope="row">{$MOD.LIST_ENTRIES_PER_SUBPANEL}: </td>
68                 <td  >
69                         <input type='text' size='4' id='ConfigureSettings_list_max_entries_per_subpanel' name='list_max_entries_per_subpanel' value='{$config.list_max_entries_per_subpanel}'>
70                 </td>
71         </tr>
72         <tr>
73                 <td  scope="row">{$MOD.LOCK_HOMEPAGE}: </td>
74                 <td  >
75                         {if !empty($config.lock_homepage)}
76                                 {assign var='lock_homepage_checked' value='CHECKED'}
77                         {else}
78                                 {assign var='lock_homepage_checked' value=''}
79                         {/if}
80                         <input type='hidden' name='lock_homepage' value='false'>
81                         <input type='checkbox' name='lock_homepage' value='true' {$lock_homepage_checked}>
82                 </td>
83                 <td  scope="row">{$MOD.LOCK_SUBPANELS}: </td>
84                 <td  >
85                         {if !empty($config.lock_subpanels)}
86                                 {assign var='lock_subpanels_checked' value='CHECKED'}
87                         {else}
88                                 {assign var='lock_subpanels_checked' value=''}
89                         {/if}
90                         <input type='hidden' name='lock_subpanels' value='false'>
91                         <input type='checkbox' name='lock_subpanels' value='true' {$lock_subpanels_checked}>
92                 </td>
93         </tr>
94         <tr>
95                 <td  scope="row" nowrap>{$MOD.MAX_DASHLETS}: </td>
96                 <td>
97                         <input type='text' size='4' name='max_dashlets_homepage' value='{$config.max_dashlets_homepage}'>
98                 </td>
99                 <td  scope="row" nowrap>{$MOD.LBL_USE_REAL_NAMES}: &nbsp;{sugar_help text=$MOD.LBL_USE_REAL_NAMES_DESC}</td>
100                 {if !empty($config.use_real_names)}
101                         {assign var='use_real_names' value='CHECKED'}
102                 {else}
103                         {assign var='use_real_names' value=''}
104                 {/if}
105                 <td >
106                         <input type='hidden' name='use_real_names' value='false'>
107                         <input name='use_real_names'  type="checkbox" value="true" {$use_real_names}>
108                 </td>
109         </tr>
110         <tr>
111                 <td  scope="row">{$MOD.DISPLAY_RESPONSE_TIME}: </td>
112                 {if !empty($config.calculate_response_time )}
113                         {assign var='calculate_response_time_checked' value='CHECKED'}
114                 {else}
115                         {assign var='calculate_response_time_checked' value=''}
116                 {/if}
117                 <td ><input type='hidden' name='calculate_response_time' value='false'><input name='calculate_response_time'  type="checkbox" value="true" {$calculate_response_time_checked}></td>
118                 <td scope="row">{$MOD.LBL_MODULE_FAVICON} &nbsp;{sugar_help text=$MOD.LBL_MODULE_FAVICON_HELP} </td>
119                 {if !empty($config.default_module_favicon)}
120                         {assign var='default_module_favicon' value='CHECKED'}
121                 {else}
122                         {assign var='default_module_favicon' value=''}
123                 {/if}
124                 <td >
125                         <input type='hidden' name='default_module_favicon' value='false'>
126                         <input name='default_module_favicon'  type="checkbox" value="true" {$default_module_favicon}>
127                 </td>
128         </tr>
129         <tr>
130                 <td scope="row" width='15%' nowrap>{$MOD.SYSTEM_NAME} </td>
131                 <td width='35%'>
132                         <input type='text' name='system_name' value='{$settings.system_name}'>
133                 </td>
134                 <td scope="row" width='15%' nowrap>{$MOD.LBL_MIN_AUTO_REFRESH_INTERVAL} &nbsp;{sugar_help text=$MOD.LBL_MIN_AUTO_REFRESH_INTERVAL_HELP} </td>
135                 <td width='35%'>
136                     <select name='dashlet_auto_refresh_min' id='dashlet_auto_refresh_min'>{$AUTO_REFRESH_INTERVAL_OPTIONS}</select>
137                 </td>
138     </tr>
139     <tr>
140         <td  scope="row" width='12%' nowrap>
141         {$MOD.CURRENT_LOGO}&nbsp;{sugar_help text=$MOD.CURRENT_LOGO_HELP}
142         </td>
143         <td width='35%' >
144             <img id="company_logo_image" src='{$company_logo}' alt=$mod_strings.LBL_LOGO>
145         </td>
146     </tr>
147     <tr>
148         <td  scope="row" width='12%' nowrap>
149             {$MOD.NEW_LOGO}&nbsp;{sugar_help text=$MOD.NEW_LOGO_HELP}
150         </td>
151         <td  width='35%'>
152             <div id="container_upload"></div>
153             <input type='text' id='company_logo' name='company_logo' style="display:none">
154         </td>
155     </tr>
156     <tr>
157             <td scope="row">{$MOD.LBL_LEAD_CONV_OPTION}:&nbsp;{sugar_help text=$MOD.LEAD_CONV_OPT_HELP}</td>
158             <td> <select name="lead_conv_activity_opt">{$lead_conv_activities}</select></td>
159             <td><a href="./index.php?module=Administration&action=ConfigureAjaxUI" id="configure_ajax">{$MOD.LBL_CONFIG_AJAX}</a>&nbsp;{sugar_help text=$MOD.LBL_CONFIG_AJAX_DESC}</td>
160     </tr>
161
162     <tr>
163         <td  scope="row" nowrap>{$MOD.LBL_DISALBE_CONVERT_LEAD}: &nbsp;{sugar_help text=$MOD.LBL_DISALBE_CONVERT_LEAD_DESC}</td>
164         {if !empty($config.disable_convert_lead)}
165             {assign var='disable_convert_lead' value='CHECKED'}
166         {else}
167             {assign var='disable_convert_lead' value=''}
168         {/if}
169         <td>
170             <input type='hidden' name='disable_convert_lead' value='false'>
171             <input name='disable_convert_lead'  type="checkbox" value="true" {$disable_convert_lead}>
172         </td>
173         <td colspan="2">&nbsp;</td>
174     </tr>
175
176
177
178
179 </table>
180
181 <table width="100%" border="0" cellspacing="1" cellpadding="0" class="edit view">
182
183         <tr>
184         <th align="left" scope="row" colspan="4"><h4>{$MOD.LBL_PROXY_TITLE}</h4></th>
185         </tr>
186         <tr>
187         <td width="25%" scope="row" valign='middle'>{$MOD.LBL_PROXY_ON}&nbsp{sugar_help text=$MOD.LBL_PROXY_ON_DESC}</td>
188                 {if !empty($settings.proxy_on)}
189                 {assign var='proxy_on_checked' value='CHECKED'}
190         {else}
191                 {assign var='proxy_on_checked' value=''}
192         {/if}
193         <td width="75%" align="left"  valign='middle' colspan='3'><input type='hidden' name='proxy_on' value='0'><input name="proxy_on" id="proxy_on" value="1" class="checkbox" tabindex='1' type="checkbox" {$proxy_on_checked} onclick='toggleDisplay_2("proxy_config_display")'></td>
194         </tr><tr>
195         <td colspan="4">
196         <div id="proxy_config_display" style='display:{$PROXY_CONFIG_DISPLAY}'>
197                 <table width="100%" cellpadding="0" cellspacing="1"><tr>
198                 <td width="15%" scope="row">{$MOD.LBL_PROXY_HOST}<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></td>
199                 <td width="35%" ><input type="text" id="proxy_host" name="proxy_host" size="25"  value="{$settings.proxy_host}" tabindex='1' ></td>
200                 <td width="15%" scope="row">{$MOD.LBL_PROXY_PORT}<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></td>
201                 <td width="35%" ><input type="text" id="proxy_port" name="proxy_port" size="6"  value="{$settings.proxy_port}" tabindex='1' ></td>
202                 </tr><tr>
203                 <td width="15%" scope="row" valign='middle'>{$MOD.LBL_PROXY_AUTH}</td>
204         {if !empty($settings.proxy_auth)}
205                 {assign var='proxy_auth_checked' value='CHECKED'}
206         {else}
207                 {assign var='proxy_auth_checked' value=''}
208         {/if}
209                 <td width="35%" align="left"  valign='middle' ><input type='hidden' name='proxy_auth' value='0'><input id="proxy_auth" name="proxy_auth" value="1" class="checkbox" tabindex='1' type="checkbox" {$proxy_auth_checked} onclick='toggleDisplay_2("proxy_auth_display")'> </td>
210                 </tr></table>
211
212                 <div id="proxy_auth_display" style='display:{$PROXY_AUTH_DISPLAY}'>
213
214                 <table width="100%" cellpadding="0" cellspacing="1"><tr>
215                 <td width="15%" scope="row">{$MOD.LBL_PROXY_USERNAME}<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></td>
216
217                 <td width="35%" ><input type="text" id="proxy_username" name="proxy_username" size="25"  value="{$settings.proxy_username}" tabindex='1' ></td>
218                 <td width="15%" scope="row">{$MOD.LBL_PROXY_PASSWORD}<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span></td>
219                 <td width="35%" ><input type="password" id="proxy_password" name="proxy_password" size="25"  value="{$settings.proxy_password}" tabindex='1' ></td>
220                 </tr></table>
221                 </div>
222         </div>
223   </td>
224   </tr>
225  </table>
226
227
228 <table width="100%" border="0" cellspacing="1" cellpadding="0" class="edit view">
229         <tr>
230         <th align="left" scope="row" colspan="4"><h4>{$MOD.LBL_SKYPEOUT_TITLE}</h4></th>
231         </tr>
232         <tr>
233         <td width="25%" scope="row" valign='middle'>{$MOD.LBL_SKYPEOUT_ON}&nbsp{sugar_help text=$MOD.LBL_SKYPEOUT_ON_DESC WIDTH=400}</td>
234         {if !empty($settings.system_skypeout_on)}
235                 {assign var='system_skypeout_on_checked' value='CHECKED'}
236         {else}
237                 {assign var='system_skypeout_on_checked' value=''}
238         {/if}
239         <td width="75%" align="left"  valign='middle'><input type='hidden' name='system_skypeout_on' value='0'><input name="system_skypeout_on" value="1" class="checkbox" tabindex='1' type="checkbox" {$system_skypeout_on_checked}></td>
240         </tr>
241  </table>
242
243
244
245 <table width="100%" border="0" cellspacing="1" cellpadding="0" class="edit view">
246         <tr>
247         <th align="left" scope="row" colspan="4"><h4>{$MOD.ADVANCED}</h4></th>
248         </tr>
249         <tr>
250                 <td  scope="row">{$MOD.VERIFY_CLIENT_IP}: </td>
251                 {if !empty($config.verify_client_ip)}
252                         {assign var='verify_client_ip_checked' value='CHECKED'}
253                 {else}
254                         {assign var='verify_client_ip_checked' value=''}
255                 {/if}
256                 <td  ><input type='hidden' name='verify_client_ip' value='false'><input name='verify_client_ip'  type="checkbox" value="1" {$verify_client_ip_checked}></td>
257
258                 <td  scope="row">{$MOD.LOG_MEMORY_USAGE}: </td>
259                 {if !empty($config.log_memory_usage)}
260                         {assign var='log_memory_usage_checked' value='CHECKED'}
261                 {else}
262                         {assign var='log_memory_usage_checked' value=''}
263                 {/if}
264                 <td  ><input type='hidden' name='log_memory_usage' value='false'><input name='log_memory_usage'  type="checkbox" value='true' {$log_memory_usage_checked}></td>
265
266         </tr>
267         <tr>
268                 <td  scope="row">{$MOD.LOG_SLOW_QUERIES}: </td>
269                 {if !empty($config.dump_slow_queries)}
270                         {assign var='dump_slow_queries_checked' value='CHECKED'}
271                 {else}
272                         {assign var='dump_slow_queries_checked' value=''}
273                 {/if}
274                 <td ><input type='hidden' name='dump_slow_queries' value='false'><input name='dump_slow_queries'  type="checkbox" value='true' {$dump_slow_queries_checked}></td>
275
276                 <td  scope="row">{$MOD.SLOW_QUERY_TIME_MSEC}: </td>
277                 <td  >
278                         <input type='text' size='5' name='slow_query_time_msec' value='{$config.slow_query_time_msec}'>
279                 </td>
280
281         </tr>
282         <tr>
283                 <td  scope="row">{$MOD.UPLOAD_MAX_SIZE}: </td>
284                 <td  >
285                         <input type='text' size='8' name='upload_maxsize' value='{$config.upload_maxsize}'>
286                 </td>
287                 <td  scope="row">{$MOD.STACK_TRACE_ERRORS}: </td>
288                 {if !empty($config.stack_trace_errors)}
289                         {assign var='stack_trace_errors_checked' value='CHECKED'}
290                 {else}
291                         {assign var='stack_trace_errors_checked' value=''}
292                 {/if}
293                 <td ><input type='hidden' name='stack_trace_errors' value='false'><input name='stack_trace_errors'  type="checkbox" value='true' {$stack_trace_errors_checked}></td>
294
295
296
297         </tr>
298
299         <tr>
300                 <td  scope="row">{$MOD.DEVELOPER_MODE}: </td>
301                 {if !empty($config.developerMode)}
302                         {assign var='developerModeChecked' value='CHECKED'}
303                 {else}
304                         {assign var='developerModeChecked' value=''}
305                 {/if}
306                 <td ><input type='hidden' name='developerMode' value='false'><input name='developerMode'  type="checkbox" value='true' {$developerModeChecked}></td>
307         </tr>
308         <tr>
309                 <td scope="row">{$MOD.LBL_VCAL_PERIOD} {sugar_help text=$MOD.vCAL_HELP}</td>
310                 <td >
311                         <input type='text' size='4' name='vcal_time' value='{$config.vcal_time}'>
312                 </td>
313         <td scope="row">{$MOD.LBL_IMPORT_MAX_RECORDS} {sugar_help text=$MOD.LBL_IMPORT_MAX_RECORDS_HELP}</td>
314                 <td >
315                         <input type='text' size='4' name='import_max_records_total_limit' value='{$config.import_max_records_total_limit}'>
316                 </td>
317
318         </tr>
319
320
321
322 </table>
323
324
325 <table  width="100%" border="0" cellspacing="1" cellpadding="0" class="edit view">
326 <tr>
327 <th align="left" scope="row" colspan="6"><h4>{$MOD.LBL_LOGGER}</h4></th>
328 </tr>
329         <tr>
330                 <td  scope="row" valign='middle'>{$MOD.LBL_LOGGER_FILENAME}</td>
331                 <td   valign='middle' ><input type='text' name = 'logger_file_name'  value="{$config.logger.file.name}"></td>
332                 <td  scope="row">{$MOD.LBL_LOGGER_FILE_EXTENSION}</td>
333                 <td ><input name ="logger_file_ext" type="text" size="5" value="{$config.logger.file.ext}"></td>
334                 <td scope="row">{$MOD.LBL_LOGGER_FILENAME_SUFFIX}</td>
335                 <td ><select name = "logger_file_suffix" selected='{$config.logger.file.suffix}'>{$filename_suffix}</select></td>
336         </tr>
337         <tr>
338                 <td scope="row">{$MOD.LBL_LOGGER_MAX_LOG_SIZE} </td>
339                 <td > <input name="logger_file_maxSize" size="4" value="{$config.logger.file.maxSize}"></td>
340                 <td scope="row">{$MOD.LBL_LOGGER_DEFAULT_DATE_FORMAT}</td>
341                 <td  ><input name ="logger_file_dateFormat" type="text" value="{$config.logger.file.dateFormat}"></td>
342         </tr>
343         <tr>
344                 <td scope="row">{$MOD.LBL_LOGGER_LOG_LEVEL} </td>
345                 <td > <select name="logger_level">{$log_levels}</select></td>
346                 <td scope="row">{$MOD.LBL_LOGGER_MAX_LOGS} </td>
347                 <td > <input name="logger_file_maxLogs" value="{$config.logger.file.maxLogs}"></td>
348         </tr>
349         <tr>
350             <td><a href="index.php?module=Configurator&action=LogView" target="_blank">{$MOD.LBL_LOGVIEW}</a></td>
351         </tr>
352 </table>
353
354
355
356 <div style="padding-top: 2px;">
357 <input title="{$APP.LBL_SAVE_BUTTON_TITLE}" class="button primary"  type="submit" name="save" value="  {$APP.LBL_SAVE_BUTTON_LABEL}  " class="button primary"/>
358                 &nbsp;<input title="{$MOD.LBL_SAVE_BUTTON_TITLE}"  class="button"  type="submit" name="restore" value="  {$MOD.LBL_RESTORE_BUTTON_LABEL} " />
359                 &nbsp;<input title="{$MOD.LBL_CANCEL_BUTTON_TITLE}"  onclick="document.location.href='index.php?module=Administration&action=index'" class="button"  type="button" name="cancel" value="  {$APP.LBL_CANCEL_BUTTON_LABEL}  " />
360 </div>
361 {$JAVASCRIPT}
362
363
364 <script>
365 addToValidate('ConfigureSettings', 'system_name', 'varchar', true,'System Name' );
366 addToValidateMoreThan('ConfigureSettings', 'list_max_entries_per_page', 'int', true, '', 1);
367 addToValidateMoreThan('ConfigureSettings', 'list_max_entries_per_subpanel', 'int', true, '', 1);
368 </script>
369 </form>
370 <div id='upload_panel' style="display:none">
371     <form id="upload_form" name="upload_form" method="POST" action='index.php' enctype="multipart/form-data">
372         <input type="file" id="my_file_company" name="file_1" size="20" onchange="uploadCheck(false)"/>
373         {sugar_getimage name="sqsWait" ext=".gif" alt=$mod_strings.LBL_LOADING other_attributes='id="loading_img_company" style="display:none" '}
374     </form>
375 </div>
376 {literal}
377 <script type='text/javascript'>
378 function init_logo(){
379     document.getElementById('upload_panel').style.display="inline";
380     document.getElementById('upload_panel').style.position="absolute";
381     YAHOO.util.Dom.setX('upload_panel', YAHOO.util.Dom.getX('container_upload'));
382     YAHOO.util.Dom.setY('upload_panel', YAHOO.util.Dom.getY('container_upload')-5);
383 }
384 YAHOO.util.Event.onDOMReady(function(){
385     init_logo();
386 });
387 function toggleDisplay_2(div_string){
388     toggleDisplay(div_string);
389     init_logo();
390 }
391  function uploadCheck(quotes){
392     //AJAX call for checking the file size and comparing with php.ini settings.
393     var callback = {
394         upload:function(r) {
395             eval("var file_type = " + r.responseText);
396             var forQuotes = file_type['forQuotes'];
397             document.getElementById('loading_img_'+forQuotes).style.display="none";
398             bad_image = SUGAR.language.get('Configurator',(forQuotes == 'quotes')?'LBL_ALERT_TYPE_JPEG':'LBL_ALERT_TYPE_IMAGE');
399             switch(file_type['data']){
400                 case 'other':
401                     alert(bad_image);
402                     document.getElementById('my_file_' + forQuotes).value='';
403                     break;
404                 case 'size':
405                     alert(SUGAR.language.get('Configurator','LBL_ALERT_SIZE_RATIO'));
406                     document.getElementById(forQuotes + "_logo").value=file_type['path'];
407                     document.getElementById(forQuotes + "_logo_image").src=file_type['url'];
408                     break;
409                 case 'file_error':
410                     alert(SUGAR.language.get('Configurator','ERR_ALERT_FILE_UPLOAD'));
411                     document.getElementById('my_file_' + forQuotes).value='';
412                     break;
413                 //File good
414                 case 'ok':
415                     document.getElementById(forQuotes + "_logo").value=file_type['path'];
416                     document.getElementById(forQuotes + "_logo_image").src=file_type['url'];
417                     break;
418                 //error in getimagesize because unsupported type
419                 default:
420                    alert(bad_image);
421                    document.getElementById('my_file_' + forQuotes).value='';
422             }
423         },
424         failure:function(r){
425             alert(SUGAR.language.get('app_strings','LBL_AJAX_FAILURE'));
426         }
427     }
428     document.getElementById("company_logo").value='';
429     document.getElementById('loading_img_company').style.display="inline";
430     var file_name = document.getElementById('my_file_company').value;
431     postData = '&entryPoint=UploadFileCheck&forQuotes=false';
432     YAHOO.util.Connect.setForm(document.getElementById('upload_form'), true,true);
433     if(file_name){
434         if(postData.substring(0,1) == '&'){
435             postData=postData.substring(1);
436         }
437         YAHOO.util.Connect.asyncRequest('POST', 'index.php', callback, postData);
438     }
439 }
440
441 </script>
442 {/literal}