mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Add Collabora UI preference
This commit is contained in:
parent
faadfbdc23
commit
42aa383cd4
@ -262,6 +262,25 @@ class filemanager_hooks
|
||||
)
|
||||
);
|
||||
|
||||
if($GLOBALS['egw_info']['user']['apps']['collabora'])
|
||||
{
|
||||
$settings += array(
|
||||
'sections.collabora' => array(
|
||||
'type' => 'section',
|
||||
'title' => lang('Collabora'),
|
||||
'no_lang'=> true,
|
||||
'xmlrpc' => False,
|
||||
'admin' => False
|
||||
),
|
||||
'ui_mode' => array(
|
||||
'type' => 'select',
|
||||
'label' => lang('UI mode'),
|
||||
'name' => 'ui_mode',
|
||||
'values' => ['classic','notebookbar'],
|
||||
'default' => 'notebookbar'
|
||||
)
|
||||
);
|
||||
}
|
||||
return $settings;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user