mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 10:27:52 +02:00
added option to supress search filed
This commit is contained in:
parent
78f0df9c1c
commit
519e6875d6
@ -240,7 +240,8 @@
|
|||||||
// keep the editor away from the generated tmpls
|
// keep the editor away from the generated tmpls
|
||||||
$nextmatch->no_onclick = true;
|
$nextmatch->no_onclick = true;
|
||||||
|
|
||||||
foreach(array('no_cat'=>'cat_id','no_filter'=>'filter','no_filter2'=>'filter2') as $val_name => $cell_name)
|
if(isset($value['no_search'])) $value['no_start_search'] = $value['no_search'];
|
||||||
|
foreach(array('no_cat'=>'cat_id','no_filter'=>'filter','no_filter2'=>'filter2', 'no_search' => 'search', 'no_start_search' => 'start_search' ) as $val_name => $cell_name)
|
||||||
{
|
{
|
||||||
if (isset($value[$val_name])) $nextmatch->disable_cells($cell_name,$value[$val_name]);
|
if (isset($value[$val_name])) $nextmatch->disable_cells($cell_name,$value[$val_name]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user