$this->SetShowTopPageNavigator(false); $this->SetShowBottomPageNavigator(false); // // Http Handlers // return $result; } public function OpenAdvancedSearchByDefault() { return false; } protected function DoGetGridHeader() { return ''; } } SetUpUserAuthorization(GetApplication()); try { $Page = new total_allocated_hours_smallPage("total_allocated_hours_small.php", "total_allocated_hours_small", GetCurrentUserGrantForDataSource("total allocated hours small"), 'UTF-8'); $Page->SetShortCaption('Total Allocated Hours dashboard'); $Page->SetHeader(GetPagesHeader()); $Page->SetFooter(GetPagesFooter()); $Page->SetCaption('Total Allocated Hours Small'); $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("total allocated hours small")); GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation()); GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword()); GetApplication()->SetMainPage($Page); GetApplication()->Run(); } catch (Exception $e) { ShowErrorPage($e->getMessage()); }
<?php /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ATTENTION! * If you see this message in your browser (Internet Explorer, Mozilla Firefox, Google Chrome, etc.) * this means that PHP is not properly installed on your web server. Please refer to the PHP manual * for more details: http://php.net/manual/install.php * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ include_once dirname(__FILE__) . '/' . 'authorization.php'; include_once dirname(__FILE__) . '/' . 'components/security/user_management_request_handler.php'; SetUpUserAuthorization(); UserManagementRequestHandler::HandleRequest($_GET, CreateTableBasedGrantsManager(), GetIdentityCheckStrategy());