Author: danydb
Date: 2011-11-21 14:26:42 +0100 (Mon, 21 Nov 2011)
New Revision: 4417

Modified:
   phpcompta/trunk/include/class_database.php
Log:
#20 am?\195?\169liorer cosmetique setup.php: ajout $succeed pour patch

Modified: phpcompta/trunk/include/class_database.php
===================================================================
--- phpcompta/trunk/include/class_database.php  2011-11-21 13:26:36 UTC (rev 
4416)
+++ phpcompta/trunk/include/class_database.php  2011-11-21 13:26:42 UTC (rev 
4417)
@@ -359,7 +359,7 @@
     function apply_patch($p_name,$from_setup=1)
     {
         $MaxVersion=DBVERSION-1;
-        echo '<ul>';
+        echo '<ul style="list-type-style:square">';
         $add=($from_setup==0)?'admin/':'';
         for ( $i = 4;$i <= $MaxVersion;$i++)
         {
@@ -367,9 +367,11 @@
             if ( $this->get_version() <= $i )
             {
                 echo "<li>Patching ".$p_name.
-                " from the version ".$this->get_version()." to $to</h3> </li>";
+                " from the version ".$this->get_version()." to $to ";
 
                 $this->execute_script($add.'sql/patch/upgrade'.$i.'.sql');
+                echo $succeed;
+                
                 if ( ! DEBUG ) ob_start();
                 // specific for version 4
                 if ( $i == 4 )


_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to