|
@@ 1407-1410 (lines=4) @@
|
| 1404 |
|
); |
| 1405 |
|
//error_log(__METHOD__.__LINE__.array2string(array_keys($actions))); |
| 1406 |
|
// save as tracker, save as infolog, as this are actions that are either available for all, or not, we do that for all and not via css-class disabling |
| 1407 |
|
if (!isset($GLOBALS['egw_info']['user']['apps']['infolog'])) |
| 1408 |
|
{ |
| 1409 |
|
unset($actions['infolog']); |
| 1410 |
|
} |
| 1411 |
|
if (!isset($GLOBALS['egw_info']['user']['apps']['tracker'])) |
| 1412 |
|
{ |
| 1413 |
|
unset($actions['tracker']); |
|
@@ 1411-1414 (lines=4) @@
|
| 1408 |
|
{ |
| 1409 |
|
unset($actions['infolog']); |
| 1410 |
|
} |
| 1411 |
|
if (!isset($GLOBALS['egw_info']['user']['apps']['tracker'])) |
| 1412 |
|
{ |
| 1413 |
|
unset($actions['tracker']); |
| 1414 |
|
} |
| 1415 |
|
if (!isset($GLOBALS['egw_info']['user']['apps']['calendar'])) |
| 1416 |
|
{ |
| 1417 |
|
unset($actions['calendar']); |
|
@@ 1415-1418 (lines=4) @@
|
| 1412 |
|
{ |
| 1413 |
|
unset($actions['tracker']); |
| 1414 |
|
} |
| 1415 |
|
if (!isset($GLOBALS['egw_info']['user']['apps']['calendar'])) |
| 1416 |
|
{ |
| 1417 |
|
unset($actions['calendar']); |
| 1418 |
|
} |
| 1419 |
|
// remove vfs actions if the user has no run access to filemanager |
| 1420 |
|
if (!$GLOBALS['egw_info']['user']['apps']['filemanager']) |
| 1421 |
|
{ |