phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r5267 - phpcompta/trunk/include/template


From: phpcompta-dev
Subject: [Phpcompta-dev] r5267 - phpcompta/trunk/include/template
Date: Thu, 16 May 2013 00:07:45 +0200 (CEST)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]