mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
dont show more lines in multiselectbox as we have values
This commit is contained in:
parent
7badca95da
commit
77eaf8e7f1
@ -556,7 +556,7 @@ class uisettings
|
|||||||
{
|
{
|
||||||
if (!is_array($default)) $default = explode(',',$default);
|
if (!is_array($default)) $default = explode(',',$default);
|
||||||
$select = html::input_hidden($GLOBALS['type'].'['.$name.']','',false); // causes bosettings not to ignore unsetting all
|
$select = html::input_hidden($GLOBALS['type'].'['.$name.']','',false); // causes bosettings not to ignore unsetting all
|
||||||
$select .= html::checkbox_multiselect($GLOBALS['type'].'['.$name.']',$default,$values,true,'',5);
|
$select .= html::checkbox_multiselect($GLOBALS['type'].'['.$name.']',$default,$values,true,'',min(5,count($values)));
|
||||||
}
|
}
|
||||||
if($GLOBALS['type'] == 'user' && (string)$GLOBALS['egw']->preferences->default[$_appname][$name] !== '')
|
if($GLOBALS['type'] == 'user' && (string)$GLOBALS['egw']->preferences->default[$_appname][$name] !== '')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user