Add HtmlInput::print_window
This commit is contained in:
parent
b286d5b241
commit
48f9947eb0
1 changed files with 9 additions and 0 deletions
|
|
@ -405,5 +405,14 @@ class HtmlInput
|
|||
$r.='</div>';
|
||||
return $r;
|
||||
}
|
||||
/**
|
||||
* Javascript to print the current window
|
||||
*/
|
||||
static function print_window()
|
||||
{
|
||||
$r='';
|
||||
$r.=HtmlInput::button('print','Imprimer','onclick="window.print();"');
|
||||
return $r;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue