mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01: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_',
|
||||
'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(
|
||||
$GLOBALS['egw_info']['user']['preferences']['timesheet']['document_dir'],
|
||||
$group, 'Insert in document', 'document_',
|
||||
|
Loading…
Reference in New Issue
Block a user