phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5615 - phpcompta/trunk/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r5615 - phpcompta/trunk/include
Date: Sat, 21 Dec 2013 13:45:52 +0100 (CET)

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



reply via email to

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