mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02:00
Add context menu link to filemanager
This commit is contained in:
parent
a20f7651a0
commit
47c07a45d5
@ -969,6 +969,22 @@ class timesheet_ui extends timesheet_bo
|
|||||||
'prefix' => 'to_status_',
|
'prefix' => 'to_status_',
|
||||||
'enabled' => (boolean)$this->status_labels,
|
'enabled' => (boolean)$this->status_labels,
|
||||||
),
|
),
|
||||||
|
);
|
||||||
|
|
||||||
|
// Other applications
|
||||||
|
$group++;
|
||||||
|
if (false &&$GLOBALS['egw_info']['user']['apps']['filemanager'])
|
||||||
|
{
|
||||||
|
$actions['filemanager'] = array(
|
||||||
|
'icon' => 'filemanager/navbar',
|
||||||
|
'caption' => 'Filemanager',
|
||||||
|
'url' => 'menuaction=filemanager.filemanager_ui.index&path=/apps/timesheet/$id',
|
||||||
|
'allowOnMultiple' => false,
|
||||||
|
'group' => $group,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
$group++;
|
||||||
|
$actions += array(
|
||||||
'documents' => timesheet_merge::document_action(
|
'documents' => timesheet_merge::document_action(
|
||||||
$GLOBALS['egw_info']['user']['preferences']['timesheet']['document_dir'],
|
$GLOBALS['egw_info']['user']['preferences']['timesheet']['document_dir'],
|
||||||
$group, 'Insert in document', 'document_',
|
$group, 'Insert in document', 'document_',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user