mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Make sure default option is first
This commit is contained in:
parent
098fe647dc
commit
2748376f6f
@ -505,14 +505,14 @@ class preferences_settings
|
||||
switch($type)
|
||||
{
|
||||
case 'user':
|
||||
$setting['values'] = array('' => lang('Use default'))+$setting['values'];
|
||||
$setting['values'] = array(['value'=>'','label' => lang('Use default')])+$setting['values'];
|
||||
break;
|
||||
case 'default':
|
||||
case 'group':
|
||||
$setting['values'] = array('' => lang('No default'))+$setting['values'];
|
||||
$setting['values'] = array(['value'=>'','label' => lang('No default')])+$setting['values'];
|
||||
break;
|
||||
case 'forced';
|
||||
$setting['values'] = array('**NULL**' => lang('Users choice'))+$setting['values'];
|
||||
$setting['values'] = array(['value'=> '**NULL**','label' => lang('Users choice')])+$setting['values'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user