Author: danydb
Date: 2013-12-21 13:45:51 +0100 (Sat, 21 Dec 2013)
New Revision: 5615

Modified:
   phpcompta/trunk/include/ac_common.php
Log:
Accept row for function h2 and h1


Modified: phpcompta/trunk/include/ac_common.php
===================================================================
--- phpcompta/trunk/include/ac_common.php       2013-12-21 02:28:00 UTC (rev 
5614)
+++ phpcompta/trunk/include/ac_common.php       2013-12-21 12:45:51 UTC (rev 
5615)
@@ -63,11 +63,11 @@
     return '<h2 class="info">' . htmlspecialchars($p_string) . '</h2>';
 }
 
-function h2($p_string, $p_class)
+function h2($p_string, $p_class="",$raw="")
 {
-    return '<h2 ' . $p_class . '>' . htmlspecialchars($p_string) . '</h2>';
+    return '<h2 ' . $p_class . '>' . $raw.htmlspecialchars($p_string) . 
'</h2>';
 }
-function h1($p_string, $p_class)
+function h1($p_string, $p_class="")
 {
     return '<h1 ' . $p_class . '>' . htmlspecialchars($p_string) . '</h1>';
 }



---
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