diff --git a/include/class_html_input.php b/include/class_html_input.php index b4fc64b45..597539258 100755 --- a/include/class_html_input.php +++ b/include/class_html_input.php @@ -393,4 +393,17 @@ class HtmlInput return $html; } + /** + * Return a html string with an anchor which close the inside popup. (top-right corner) + *@param name of the DIV to close + */ + static function anchor_close($div) + { + $r=''; + $r.='
'; + $r.= 'Fermer'; + $r.='
'; + return $r; + } } +