Merge branch 'dev7109' into entreprise
This commit is contained in:
commit
f33ff144e5
70 changed files with 2833 additions and 797 deletions
|
|
@ -557,7 +557,7 @@ class HtmlInput
|
|||
static function print_window()
|
||||
{
|
||||
$r='';
|
||||
$r.=HtmlInput::button('print', 'Imprimer', 'onclick="window.print();"');
|
||||
$r.=HtmlInput::button('print', _('Imprimer'), 'onclick="window.print();"');
|
||||
return $r;
|
||||
}
|
||||
|
||||
|
|
@ -976,6 +976,22 @@ class HtmlInput
|
|||
$r.=' <span class="notice" id="info_'.$p_table_id.'"></span>';
|
||||
return $r;
|
||||
}
|
||||
/**
|
||||
* Display a field for searching an element in a list
|
||||
* @param string $p_list_id DOM ID of the list (ul or ol)
|
||||
* @return string
|
||||
*/
|
||||
static function filter_list($p_list_id)
|
||||
{
|
||||
$r="<span>";
|
||||
$r.='<span class=" icon"></span>';
|
||||
$r.=sprintf('<input id="search_%s" type="TEXT" class="input_text" name="filter_list%s" onkeyup="filter_list(this,\'%s\')">',
|
||||
$p_list_id,$p_list_id,$p_list_id);
|
||||
|
||||
$r.=sprintf('<input type="button" class="smallbutton" onclick="$(\'search_%s\').value=\'\';filter_list(\'search_%s\',\'%s\')" value="x">',$p_list_id,$p_list_id,$p_list_id);
|
||||
$r.='</span>';
|
||||
return $r;
|
||||
}
|
||||
|
||||
static function show_reconcile($p_div, $let, $span="")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue