From 60bc07d293114fb3df398e12f22a5322aa78f355 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Mon, 17 Jan 2011 20:49:28 +0000 Subject: [PATCH] Add function h2 --- include/ac_common.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/ac_common.php b/include/ac_common.php index 57c053533..f6860c70e 100644 --- a/include/ac_common.php +++ b/include/ac_common.php @@ -53,6 +53,11 @@ function h2info($p_string) { return '

'.htmlspecialchars($p_string).'

'; } +function h2($p_string,$p_class) +{ + return '

'.htmlspecialchars($p_string).'

'; +} + /*!\brief surround the string with td *\param $p_string string to surround by TD *\param $p_extra extra info (class, style, javascript...)