diff --git a/pub/bin/pages/pageDashboard.php b/pub/bin/pages/pageDashboard.php index 71e4436..6223133 100644 --- a/pub/bin/pages/pageDashboard.php +++ b/pub/bin/pages/pageDashboard.php @@ -15,7 +15,7 @@ function showCard($module_name, $page_name, $width = 3) { $page = $GLOBALS['pages'][$module_name][$page_name]; ?> -
+
@@ -37,96 +37,32 @@ function showCard($module_name, $page_name, $width = 3)
+
+ checkPermissions('customer-companies', 'RO', true)) { + showCard('customers', 'companies', '6'); + } -
-
- checkPermissions('customer-companies', 'RO', true)) { ?> -
-
-
-

-
-
-
-
-
-
- -
-
- checkPermissions('servers', 'RO', true)) { ?> -
-
-
-

-
-
-
-
-
-
- -
-
- -
+ if ($GLOBALS['modules_enabled']['servers'] && $API->checkPermissions('servers', 'RO', true)) { + showCard('servers', 'server_overview', '6'); + } - checkPermissions('ofice-stompjes', 'RO', true)) { ?> -
-
-

-
-
-
-
-
-
- -
- checkPermissions('ofice-stompjes', 'RO', true)) { + showCard('office', 'stompjeslist'); + } - if ($GLOBALS['modules_enabled']['autop']) { ?> -
-
-

-
-
-
-
-
-
- -
- - -
-
-

-
-
-
-
-
-
- -
- + if ($GLOBALS['modules_enabled']['autop']) { + showCard('autop', 'platforms'); + showCard('autop', 'vendors'); + showCard('autop', 'devices'); + showCard('autop', 'device_settings'); + showCard('autop', 'provisioning'); + showCard('autop', 'phonebooks'); + } + + if ($GLOBALS['modules_enabled']['system']) { + showCard('system', 'access_control'); + showCard('system', 'systemconfig'); + } + ?>
\ No newline at end of file