mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Move share link action under share files action
This commit is contained in:
parent
118130bd36
commit
cc594af822
@ -183,7 +183,15 @@ class filemanager_ui
|
||||
'caption' => lang('Share files'),
|
||||
'icon' => 'filemanager/mail_post_to',
|
||||
'group' => $group,
|
||||
'children' => array(),
|
||||
'children' => array(
|
||||
'sharelink' => array(
|
||||
'caption' => lang('Share link'),
|
||||
'group' => 1,
|
||||
'icon' => 'share',
|
||||
'allowOnMultiple' => false,
|
||||
'order' => 11,
|
||||
'onExecute' => 'javaScript:app.filemanager.share_link'
|
||||
)),
|
||||
),
|
||||
'egw_paste' => array(
|
||||
'enabled' => false,
|
||||
@ -206,14 +214,6 @@ class filemanager_ui
|
||||
'order' => 10,
|
||||
'onExecute' => 'javaScript:app.filemanager.copy_link'
|
||||
),
|
||||
'sharelink' => array(
|
||||
'caption' => lang('Share link'),
|
||||
'group' => $group + 0.5,
|
||||
'icon' => 'share',
|
||||
'allowOnMultiple' => false,
|
||||
'order' => 11,
|
||||
'onExecute' => 'javaScript:app.filemanager.share_link'
|
||||
),
|
||||
'documents' => filemanager_merge::document_action(
|
||||
$GLOBALS['egw_info']['user']['preferences']['filemanager']['document_dir'],
|
||||
++$group, 'Insert in document', 'document_',
|
||||
@ -271,6 +271,7 @@ class filemanager_ui
|
||||
$actions['mail']['children']['mail_'.$mode] = array(
|
||||
'caption' => $data['label'],
|
||||
'hint' => $data['title'],
|
||||
'group' => 2,
|
||||
'onExecute' => 'javaScript:app.filemanager.mail',
|
||||
);
|
||||
if ($mode == Vfs\Sharing::ATTACH || $mode == Vfs\Sharing::LINK)
|
||||
|
Loading…
Reference in New Issue
Block a user