remove access global var

Cosmetic disconnect
This commit is contained in:
sparkyx 2024-01-27 15:48:05 +01:00
parent d9912ff7e3
commit fc95db277e
3 changed files with 5 additions and 4 deletions

View file

@ -444,10 +444,11 @@ class HtmlInput
* @see add_div modify_operation
* @param $div_name is the name of the div to remove
*/
static function button_close($div_name)
static function button_close($div_name,$class='smallbutton')
{
$a=new IButton('Fermer');
$a->label=_("Fermer");
$a->class=$class;
$a->javascript="removeDiv('".$div_name."')";
$html=$a->input();