Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1244
 
1247
 
1247
 
install_3.php
_> 4949 
  5050   function prepareDB() {
  5151     if (document.getElementById("DB_INSERT_SAMPLE_DATA").checked) {
<> 52 -      if (formSubmited == true) {
  53 -        return false;
  54 -      }
5552 
<> 56 -      formSubmited = true;
  57 -
5853       document.getElementById('mBoxContents').innerHTML = '<p><img src="images/progress.gif" align="right" hspace="5" vspace="5" border="0" /><?php echo $osC_Language->get('rpc_database_sample_data_importing'); ?></p>';
  5954 
  6055       loadXMLDoc("rpc.php?action=dbImportSample&server=" + urlEncode(dbServer) + "&username=" + urlEncode(dbUsername) + "&password=" + urlEncode(dbPassword) + "&name=" + urlEncode(dbName) + "&class=" + urlEncode(dbClass) + "&prefix=" + urlEncode(dbPrefix), handleHttpResponse);
     
 !
6560 
  6661   function onSubmitCheck(form_name) {
  6762     form = form_name;
<>  63+    error = false;
   64+    error_message = '';
6865 
<>  66+    if (formSubmited == true) {
   67+      return false;
   68+    }
   69+
   70+    formSubmited = true;
   71+
6972     showDiv(document.getElementById('mBox'));
<> 70 -   
   73+
7174     check_input_emtpy("CFG_ADMINISTRATOR_USERNAME", "<?php echo $osC_Language->get('error_admin_name_empty'); ?>");
  7275     check_input_emtpy("CFG_ADMINISTRATOR_PASSWORD", "<?php echo $osC_Language->get('error_admin_password_empty'); ?>");
  7376 
     
 !
7982       }
  8083     } else {
  8184       document.getElementById('mBoxContents').innerHTML = '<p><img src="images/failed.gif" align="right" hspace="5" vspace="5" border="0" />' + error_message + '</p>';
<>  85+      formSubmited = false;
8286       return false;
  8387     }
  8488   }
     
 !
116120   <div class="contentPane">
  117121     <h2><?php echo $osC_Language->get('page_heading_step_3'); ?></h2>
  118122 
<> 119 -    <form name="install" id="installForm" action="install.php?step=4" method="post" onsubmit="return onSubmitCheck(install);">
   123+    <form name="install" id="installForm" action="install.php?step=4" method="post" onsubmit="return onSubmitCheck(install); return false;">
<_ 120124 
  121125     <table border="0" width="99%" cellspacing="0" cellpadding="5" class="inputForm">
  122126       <tr>