|
@@ 1397-1400 (lines=4) @@
|
| 1394 |
|
); |
| 1395 |
|
//error_log(__METHOD__.__LINE__.array2string(array_keys($actions))); |
| 1396 |
|
// 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 |
| 1397 |
|
if (!isset($GLOBALS['egw_info']['user']['apps']['infolog'])) |
| 1398 |
|
{ |
| 1399 |
|
unset($actions['infolog']); |
| 1400 |
|
} |
| 1401 |
|
if (!isset($GLOBALS['egw_info']['user']['apps']['tracker'])) |
| 1402 |
|
{ |
| 1403 |
|
unset($actions['tracker']); |
|
@@ 1401-1404 (lines=4) @@
|
| 1398 |
|
{ |
| 1399 |
|
unset($actions['infolog']); |
| 1400 |
|
} |
| 1401 |
|
if (!isset($GLOBALS['egw_info']['user']['apps']['tracker'])) |
| 1402 |
|
{ |
| 1403 |
|
unset($actions['tracker']); |
| 1404 |
|
} |
| 1405 |
|
if (!isset($GLOBALS['egw_info']['user']['apps']['calendar'])) |
| 1406 |
|
{ |
| 1407 |
|
unset($actions['calendar']); |
|
@@ 1405-1408 (lines=4) @@
|
| 1402 |
|
{ |
| 1403 |
|
unset($actions['tracker']); |
| 1404 |
|
} |
| 1405 |
|
if (!isset($GLOBALS['egw_info']['user']['apps']['calendar'])) |
| 1406 |
|
{ |
| 1407 |
|
unset($actions['calendar']); |
| 1408 |
|
} |
| 1409 |
|
// remove vfs actions if the user has no run access to filemanager |
| 1410 |
|
if (!$GLOBALS['egw_info']['user']['apps']['filemanager']) |
| 1411 |
|
{ |