diff --git a/Theme/Backend/modules-list.tpl.php b/Theme/Backend/modules-list.tpl.php
index 7258716..816a642 100755
--- a/Theme/Backend/modules-list.tpl.php
+++ b/Theme/Backend/modules-list.tpl.php
@@ -13,6 +13,7 @@
declare(strict_types=1);
use phpOMS\Module\ModuleStatus;
+use phpOMS\Uri\UriFactory;
/**
* @var \phpOMS\Views\View $this
@@ -34,26 +35,25 @@ $isntalled = $this->getData('isntalled') ?? [];
= $this->getHtml('Name'); ?>
| = $this->getHtml('Version'); ?>
| = $this->getHtml('Status'); ?>
- |
- $module) : ++$count;
- $url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/module/settings?{?}&id=' . $module['name']['internal']);
- if (isset($active[$module['name']['internal']])) { $status = ModuleStatus::ACTIVE; }
- elseif (isset($installed[$module['name']['internal']])) { $status = ModuleStatus::INACTIVE; }
- else { $status = ModuleStatus::AVAILABLE; }
- ?>
+
+ $module) : ++$count;
+ $url = UriFactory::build('{/prefix}admin/module/settings?{?}&id=' . $module['name']['internal']);
+
+ if (isset($active[$module['name']['internal']])) {
+ $status = ModuleStatus::ACTIVE;
+ } elseif (isset($installed[$module['name']['internal']])) {
+ $status = ModuleStatus::INACTIVE;
+ } else {
+ $status = ModuleStatus::AVAILABLE;
+ }
+ ?>
| = $this->printHtml($module['name']['id']); ?>
| = $this->printHtml($module['name']['external']); ?>
| = $this->printHtml($module['version']); ?>
|
-
+
getHtml('Active'));
@@ -65,7 +65,7 @@ $isntalled = $this->getData('isntalled') ?? [];
- | = $this->getHtml('Empty', '0', '0'); ?>
+ | | = $this->getHtml('Empty', '0', '0'); ?>
| |