diff --git a/include/class_html_input.php b/include/class_html_input.php index d3595882f..19463e9c1 100755 --- a/include/class_html_input.php +++ b/include/class_html_input.php @@ -445,6 +445,23 @@ class HtmlInput $r.=''; return $r; + } + /** + * button Html image + *@param $javascript javascript to execute + * @param $id id of the button + * @param $class class of the button + * @param $p_image image + */ + static function button_image($javascript,$id="xx",$p_class='class="button"',$p_image="") + { + if ($id=="xx"){ + $id=HtmlInput::generate_id("xx"); + } + $r=""; + $r.=''; + return $r; + } /** * Return a html string with an anchor to hide a div, put it in the right corner