From 168cee87d44b4490c42a4fe96b1629c752b0821b Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 21 Dec 2013 12:45:51 +0000 Subject: [PATCH] Accept row for function h2 and h1 --- include/ac_common.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/ac_common.php b/include/ac_common.php index 2cf864313..d4b4e1902 100644 --- a/include/ac_common.php +++ b/include/ac_common.php @@ -63,11 +63,11 @@ function h2info($p_string) return '

' . htmlspecialchars($p_string) . '

'; } -function h2($p_string, $p_class) +function h2($p_string, $p_class="",$raw="") { - return '

' . htmlspecialchars($p_string) . '

'; + return '

' . $raw.htmlspecialchars($p_string) . '

'; } -function h1($p_string, $p_class) +function h1($p_string, $p_class="") { return '

' . htmlspecialchars($p_string) . '

'; }