checkPermissions('admin-devices', 'RO', true)) { echo 'error 401 unauthorized'; exit; } # Page functions # JS Scripts to load for this page $jsScriptLoadData['multiFilterSelect'] = true; $jsScriptLoadData['delete_confirmation'] = true; $jsScriptLoadData['datatables'] = true; $jsScriptLoadData['breadCrumbs'] = true; # PageClasses Setup $pageNavbar = new pageNavbar(false, ' ' . __('devices')); if ($API->checkPermissions('admin-devices', 'RW', true)) { $pageNavbar->AddHTMLButton(''); } # Retrieve Information for the page $data = $GLOBALS['conn']->query("SELECT * FROM vc_devices INNER JOIN vc_vendors ON vc_devices.device_vendor_uuid = vc_vendors.vendor_uuid"); # Set breadcrumb data array_push($GLOBALS['breadCrumbArray'], array('display' => __('devices'), 'href' => '/devices/')); # Start page output $pageNavbar->outPutNavbar(); ?>
fetch_assoc()) { ?>
Image Type Vendor Name Enabled Actions
Image Type Vendor Name Enabled Actions
checkPermissions('admin-devices', 'RW', true)) { ?> checkPermissions('admin-devices', 'RW', true)) { ?>