W.I.P. collab editor: First implementation for syncing operation

This commit is contained in:
Hadi Nategh
2016-08-12 16:29:55 +02:00
parent 00ce2295be
commit 99b8c5773f
4 changed files with 258 additions and 29 deletions

View File

@@ -124,6 +124,13 @@ class filemanager_hooks
);
$settings = array(
'sections.1' => array(
'type' => 'section',
'title' => lang('General settings'),
'no_lang'=> true,
'xmlrpc' => False,
'admin' => False
),
'startfolder' => array(
'type' => 'input',
'name' => 'startfolder',
@@ -227,6 +234,26 @@ class filemanager_hooks
'admin' => False,
);
}
$settings += array (
'sections.2' => array(
'type' => 'section',
'title' => lang('Collab Editor settings'),
'no_lang'=> true,
'xmlrpc' => False,
'admin' => False
),
'collab_user_color' => array(
'type' => 'color',
'label' => lang('User color indicator'),
'name' => 'collab_user_color',
'help' => lang('Use eg. %1 or %2','#FF0000','orange'),
'no_lang'=> true,
'xmlrpc' => True,
'admin' => False,
)
);
return $settings;
}