mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 03:50:13 +01:00
* Create calendar events based on infolog entries
This commit is contained in:
parent
5c9cae68fe
commit
ae33b58bc6
@ -945,6 +945,18 @@ class infolog_ui
|
|||||||
'group' => $group,
|
'group' => $group,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
if ($GLOBALS['egw_info']['user']['apps']['calendar'])
|
||||||
|
{
|
||||||
|
$actions['calendar'] = array( // interactive add for a single event
|
||||||
|
'icon' => 'calendar/navbar',
|
||||||
|
'caption' => 'Calendar',
|
||||||
|
'group' => $group,
|
||||||
|
'url' => 'menuaction=calendar.calendar_uiforms.edit&'.
|
||||||
|
egw_link::get_registry('calendar', 'add_app') . '[]=infolog&'.egw_link::get_registry('calendar','add_id').'[]=$id',
|
||||||
|
'allowOnMultiple' => false,
|
||||||
|
'popup' => egw_link::get_registry('calendar', 'add_popup'),
|
||||||
|
);
|
||||||
|
}
|
||||||
if ($GLOBALS['egw_info']['user']['apps']['timesheet'])
|
if ($GLOBALS['egw_info']['user']['apps']['timesheet'])
|
||||||
{
|
{
|
||||||
$actions['timesheet'] = array( // interactive add for a single event
|
$actions['timesheet'] = array( // interactive add for a single event
|
||||||
|
Loading…
Reference in New Issue
Block a user