Author: danydb
Date: 2013-05-16 00:07:45 +0200 (Thu, 16 May 2013)
New Revision: 5267

Modified:
   phpcompta/trunk/include/template/menu.php
Log:
Correct html : 2 fois le tag table

Modified: phpcompta/trunk/include/template/menu.php
===================================================================
--- phpcompta/trunk/include/template/menu.php   2013-05-15 22:06:59 UTC (rev 
5266)
+++ phpcompta/trunk/include/template/menu.php   2013-05-15 22:07:45 UTC (rev 
5267)
@@ -2,7 +2,6 @@
     <? if ( count($amenu) > 4 && $idx == 0) :
        $style = "width:100%";
     ?>
-<table style="<?=$style?>" >
     <? elseif ($idx==0):
 switch (count($amenu))
 {
@@ -10,7 +9,7 @@
 case 3:
    $width=count($amenu)*20;
    $left=round((100-$width)/2);
-$style="width:$width%;margin-left:$left%";
+$style="style=\"width:$width%;margin-left:$left%\"";
 break;
 default:
 $style="";
@@ -19,7 +18,7 @@
                $style=" class=\"mtitle\"";
 
        endif;?>
-<table style="<?=$style?>" >
+<table  <?=$style?> >
 
 
     <tr>



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu

_______________________________________________
Phpcompta  est un logiciel libre de comptabilit&#233; en ligne 
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to