From 672a84c7aa2b85235639f1941c16a0a6c1333b8a Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sun, 9 Nov 2014 18:10:06 +0100 Subject: [PATCH] =?UTF-8?q?ajout=20=C3=A0=20HTMLINPUT::anchor=20d'un=20sty?= =?UTF-8?q?le=20ou=20classe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/class_html_input.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/class_html_input.php b/include/class_html_input.php index 19463e9c1..3f8ea98f2 100755 --- a/include/class_html_input.php +++ b/include/class_html_input.php @@ -716,8 +716,9 @@ class HtmlInput * @param string $p_text text of the anchor * @param string $p_url url * @param string $p_js javascript + * @param string $p_style is the visuable effect (class, style...) */ - static function anchor($p_text,$p_url="",$p_js="") + static function anchor($p_text,$p_url="",$p_js="",$p_style=' class="line" ') { if ($p_js != "") { @@ -725,8 +726,8 @@ class HtmlInput } - $str=sprintf('%s', - $p_url,$p_js,$p_text); + $str=sprintf('%s', + $p_style,$p_url,$p_js,$p_text); return $str; } /**