Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for Metafox/admin/inc-db/maintenance.inc.php between version 1.3 and 1.4

version 1.3, 2011/06/10 09:25:22 version 1.4, 2011/11/29 20:04:59
Line 1284  function ezin_admin_maintenance_main($re
Line 1284  function ezin_admin_maintenance_main($re
                                 }                                  }
                         }                          }
   
                           function button_disable(id, value) {
                                   document.getElementById(id).value = value;
                                   document.getElementById(id).disabled = true;
                           }
   
                           function button_enable(id, value) {
                                   document.getElementById(id).value = value;
                                   document.getElementById(id).disabled = false;
                           }
   
                 </script>                  </script>
   
                 ';                  ';
Line 1510  function ezin_admin_maintenance_main($re
Line 1520  function ezin_admin_maintenance_main($re
                                         echo '                                          echo '
                                         <tr class="pme-all-buttons">                                          <tr class="pme-all-buttons">
                                                 <td align="center">                                                  <td align="center">
                                                         <input type="button" value="All tests" onclick="all_tests_'.$last_point.'_'.$test_counter.'();">                                                          <input  type="button"
                                                                           value="All tests"
                                                                           id="button_test_'.$last_point.'_'.$test_counter.'"
                                                                           onclick="all_tests_'.$last_point.'_'.$test_counter.'();">
                                                         <script type="text/javascript">                                                          <script type="text/javascript">
   
                                         ';                                          ';
Line 1534  function ezin_admin_maintenance_main($re
Line 1547  function ezin_admin_maintenance_main($re
                                         echo '                                          echo '
   
                                                                 function all_tests_'.$last_point.'_'.$test_counter.'() {                                                                  function all_tests_'.$last_point.'_'.$test_counter.'() {
                                                                           button_disable("button_test_'.$last_point.'_'.$test_counter.'", "Tests running...");
                                         ';                                          ';
                                         $first_test = false;                                          $first_test = false;
                                         for ($b = $last_point; $b <= $test_counter; $b++) {                                          for ($b = $last_point; $b <= $test_counter; $b++) {
Line 1553  function ezin_admin_maintenance_main($re
Line 1567  function ezin_admin_maintenance_main($re
                                                 }                                                  }
                                         }                                          }
                                         echo '                                          echo '
                                                                           check_test_'.$tests[$b-1]['id'].'();
                                                                   }
                                                                   function check_test_'.$tests[$b-1]['id'].'() {
                                                                           if (!test_end_'.$last_test_id.') {
                                                                                   setTimeout("check_test_'.$tests[$b-1]['id'].'()", 100);
                                                                           } else {
                                                                                   button_enable("button_test_'.$last_point.'_'.$test_counter.'", "All tests");
                                                                           }
                                                                 }                                                                  }
                                                         </script>                                                          </script>
                                                 </td>                                                  </td>
Line 1560  function ezin_admin_maintenance_main($re
Line 1582  function ezin_admin_maintenance_main($re
                                         if ($rest <= 0) {                                          if ($rest <= 0) {
                                                 echo '                                                  echo '
                                                         <td align="center">                                                          <td align="center">
                                                                 <input type="button" value="All updates" onclick="all_updates_'.$last_point.'_'.$test_counter.'();">                                                                  <input  type="button"
                                                                                   value="All updates"
                                                                                   id="button_update_'.$last_point.'_'.$test_counter.'"
                                                                                   onclick="all_updates_'.$last_point.'_'.$test_counter.'();">
                                                                 <script type="text/javascript">                                                                  <script type="text/javascript">
   
                                                 ';                                                  ';
Line 1585  function ezin_admin_maintenance_main($re
Line 1610  function ezin_admin_maintenance_main($re
                                                 }                                                  }
                                                 echo '                                                  echo '
                                                                         function all_updates_'.$last_point.'_'.$test_counter.'() {                                                                          function all_updates_'.$last_point.'_'.$test_counter.'() {
                                                                                   button_disable("button_update_'.$last_point.'_'.$test_counter.'", "Updates running...");
                                                 ';                                                  ';
                                                 $first_update = false;                                                  $first_update = false;
                                                 for ($b = $last_point; $b <= $test_counter; $b++) {                                                  for ($b = $last_point; $b <= $test_counter; $b++) {
Line 1606  function ezin_admin_maintenance_main($re
Line 1632  function ezin_admin_maintenance_main($re
                                                         }                                                          }
                                                 }                                                  }
                                                 echo '                                                  echo '
                                                                                   check_update_'.$tests[$b-1]['id'].'();
                                                                           }
                                                                           function check_update_'.$tests[$b-1]['id'].'() {
                                                                           if (!update_end_'.$last_test_id.') {
                                                                                   setTimeout("check_update_'.$tests[$b-1]['id'].'()", 100);
                                                                           } else {
                                                                                   button_enable("button_update_'.$last_point.'_'.$test_counter.'", "All updates");
                                                                         }                                                                          }
                                                                   }
                                                                 </script>                                                                  </script>
                                                         </td>                                                          </td>
                                                 ';                                                  ';

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top