Author: danydb
Date: 2011-12-25 18:28:16 +0100 (Sun, 25 Dec 2011)
New Revision: 4654

Modified:
   phpcompta/trunk/include/class_html_input.php
Log:

correct HtmlInput::card_detail corrige style personnalis?\195?\169


Modified: phpcompta/trunk/include/class_html_input.php
===================================================================
--- phpcompta/trunk/include/class_html_input.php        2011-12-24 02:35:18 UTC 
(rev 4653)
+++ phpcompta/trunk/include/class_html_input.php        2011-12-25 17:28:16 UTC 
(rev 4654)
@@ -444,10 +444,10 @@
      */
     static function card_detail($p_qcode,$pname='',$p_style="")
     {
-      if ($pname=='')$pname=$p_qcode;
+      //if ($pname=='')$pname=$p_qcode;
       $r="";
-      $r.=sprintf('<a href="javascript:void(0)" 
onclick="fill_ipopcard({qcode:\'%s\'})">%s[%s]</a %s>',
-                 $p_qcode,$pname,$p_qcode,$p_style);
+      $r.=sprintf('<a href="javascript:void(0)" %s 
onclick="fill_ipopcard({qcode:\'%s\'})">%s [%s]</a>',
+                 $p_style,$p_qcode,$pname,$p_qcode);
       return $r;
     }
     /**


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

Reply via email to