Tache #0001859: PARAM/CFGDOC : icone fermer + bouton
This commit is contained in:
parent
8ad5b5656b
commit
bc168d22ef
2 changed files with 13 additions and 2 deletions
|
|
@ -211,9 +211,20 @@ class Icon_Action
|
|||
static function hide($action, $javascript)
|
||||
{
|
||||
$r='';
|
||||
$r.='<span id="hide" class="icon" onclick="'.$javascript.'">'.$action.'</span>';
|
||||
$r.='<span id="hide" class="icon" onclick="'.$javascript.'">'.$action.'</span>';
|
||||
return $r;
|
||||
}
|
||||
/**
|
||||
* Return a html string with an eye
|
||||
* @param type $javascript
|
||||
* @return string
|
||||
*/
|
||||
static function notvisible($javascript) {
|
||||
$r='';
|
||||
$r.='<span id="hide" class="icon" onclick="'.$javascript.'"></span>';
|
||||
return $r;
|
||||
|
||||
}
|
||||
/**
|
||||
* Display the icon of a trashbin
|
||||
* @param string $p_id DOMid
|
||||
|
|
|
|||
|
|
@ -117,6 +117,6 @@ echo dossier::hidden();
|
|||
echo HtmlInput::hidden('sa','mod_template');
|
||||
echo HtmlInput::hidden('id',$doc->md_id);
|
||||
echo HtmlInput::submit("mod",_('Sauver'));
|
||||
|
||||
echo HtmlInput::button_hide("mod_doc");
|
||||
?>
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue