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; } /**