* @copyright Dennis Eichhorn * @license OMS License 1.0 * @version 1.0.0 * @link http://orange-management.com */ /** * @var \phpOMS\Views\View $this */ $footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); $footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); $modules = $this->app->moduleManager->getAllModules(); $active = $this->app->moduleManager->getActiveModules(); $installed = $this->app->moduleManager->getInstalledModules(); $footerView->setPages(count($modules) / 25); $footerView->setPage(1); $footerView->setResults(count($modules)); ?>
| = $this->getText('ID', 0, 0); ?> | = $this->getText('Name'); ?> | = $this->getText('Version'); ?> | = $this->getText('Status'); ?> |
| = $footerView->render(); ?> | |||
| = $module['name']['internal']; ?> | = $module['name']['external']; ?> | = $module['version']; ?> | getText('Active')); elseif (in_array($module['name']['internal'], $installed)) echo strtolower($this->getText('Inactive')); else echo strtolower($this->getText('Available')); ?> |
| = $this->getText('Empty', 0, 0); ?> | |||