mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-26 07:49:28 +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'),
|
'caption' => lang('Share files'),
|
||||||
'icon' => 'filemanager/mail_post_to',
|
'icon' => 'filemanager/mail_post_to',
|
||||||
'group' => $group,
|
'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(
|
'egw_paste' => array(
|
||||||
'enabled' => false,
|
'enabled' => false,
|
||||||
@ -206,14 +214,6 @@ class filemanager_ui
|
|||||||
'order' => 10,
|
'order' => 10,
|
||||||
'onExecute' => 'javaScript:app.filemanager.copy_link'
|
'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(
|
'documents' => filemanager_merge::document_action(
|
||||||
$GLOBALS['egw_info']['user']['preferences']['filemanager']['document_dir'],
|
$GLOBALS['egw_info']['user']['preferences']['filemanager']['document_dir'],
|
||||||
++$group, 'Insert in document', 'document_',
|
++$group, 'Insert in document', 'document_',
|
||||||
@ -271,6 +271,7 @@ class filemanager_ui
|
|||||||
$actions['mail']['children']['mail_'.$mode] = array(
|
$actions['mail']['children']['mail_'.$mode] = array(
|
||||||
'caption' => $data['label'],
|
'caption' => $data['label'],
|
||||||
'hint' => $data['title'],
|
'hint' => $data['title'],
|
||||||
|
'group' => 2,
|
||||||
'onExecute' => 'javaScript:app.filemanager.mail',
|
'onExecute' => 'javaScript:app.filemanager.mail',
|
||||||
);
|
);
|
||||||
if ($mode == Vfs\Sharing::ATTACH || $mode == Vfs\Sharing::LINK)
|
if ($mode == Vfs\Sharing::ATTACH || $mode == Vfs\Sharing::LINK)
|
||||||
|
Loading…
Reference in New Issue
Block a user