0000572: Ajout de dépôt pour les stocks

This commit is contained in:
Dany De Bontridder 2012-06-13 19:16:44 +00:00
parent b14f3c3665
commit 821f5e93e3
8 changed files with 419 additions and 109 deletions

View file

@ -588,9 +588,10 @@ class HtmlInput
}
return $array[$ind];
}
static function title_box($name,$div)
static function title_box($name,$div,$mod="close")
{
$r=HtmlInput::anchor_close($div);
if ($mod=='close') $r=HtmlInput::anchor_close($div);
if ($mod=='hide') $r=HtmlInput::anchor_hide(_('Fermer'),"$('$div').hide()");
$r.=h2info($name);
return $r;
}