Icon_Action : add the icon trashbin
This commit is contained in:
parent
2efcf87803
commit
854adbcfe2
1 changed files with 11 additions and 1 deletions
|
|
@ -184,5 +184,15 @@ class Icon_Action
|
|||
$r.='<span id="hide" class="icon" onclick="'.$javascript.'">'.$action.'</span>';
|
||||
return $r;
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the icon of a trashbin
|
||||
* @param string $p_id DOMid
|
||||
* @param string $p_javascript
|
||||
* @return htmlString
|
||||
*/
|
||||
static function trash($p_id,$p_javascript)
|
||||
{
|
||||
$r='<span id="'.$p_id.'" onclick="'.$p_javascript.'" class="icon">;</span>';
|
||||
return $r;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue