forked from extern/egroupware
Add mail integration calendar action into preview toolbar
This commit is contained in:
parent
3908b46079
commit
8f7a05544e
@ -1449,6 +1449,10 @@ class mail_ui
|
|||||||
{
|
{
|
||||||
unset($actions['tracker']);
|
unset($actions['tracker']);
|
||||||
}
|
}
|
||||||
|
if (!isset($GLOBALS['egw_info']['user']['apps']['calendar']))
|
||||||
|
{
|
||||||
|
unset($actions['calendar']);
|
||||||
|
}
|
||||||
return $actions;
|
return $actions;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1701,7 +1705,7 @@ class mail_ui
|
|||||||
function get_toolbar_actions()
|
function get_toolbar_actions()
|
||||||
{
|
{
|
||||||
$actions = $this->get_actions();
|
$actions = $this->get_actions();
|
||||||
$arrActions = array('composeasnew','reply','reply_all','forward','flagged','delete','print','infolog','tracker','save','view');
|
$arrActions = array('composeasnew','reply','reply_all','forward','flagged','delete','print','infolog','tracker','calendar','save','view');
|
||||||
foreach( $arrActions as &$act)
|
foreach( $arrActions as &$act)
|
||||||
{
|
{
|
||||||
//error_log(__METHOD__.__LINE__.' '.$act.'->'.array2string($actions[$act]));
|
//error_log(__METHOD__.__LINE__.' '.$act.'->'.array2string($actions[$act]));
|
||||||
|
Loading…
Reference in New Issue
Block a user