diff --git a/Theme/Backend/accounts-list.tpl.php b/Theme/Backend/accounts-list.tpl.php index 63d4e4d..24511b7 100644 --- a/Theme/Backend/accounts-list.tpl.php +++ b/Theme/Backend/accounts-list.tpl.php @@ -21,7 +21,7 @@ echo $this->getData('nav')->render(); ?>
| = $this->printHtml($module['name']['id']); ?> | = $this->printHtml($module['name']['external']); ?> | = $this->printHtml($module['version']); ?> - | getHtml('Active')); - elseif (isset($installed[$module['name']['internal']])) - echo \mb_strtolower($this->getHtml('Inactive')); - else - echo \mb_strtolower($this->getHtml('Available')); ?> - + | + + + getHtml('Active')); + elseif ($status === ModuleStatus::INACTIVE) + echo \mb_strtolower($this->getHtml('Inactive')); + else + echo \mb_strtolower($this->getHtml('Available')); ?> + + + |
| = $this->getHtml('Empty', 0, 0); ?>
diff --git a/Theme/Backend/settings-general.tpl.php b/Theme/Backend/settings-general.tpl.php
index a12de25..fa306d9 100644
--- a/Theme/Backend/settings-general.tpl.php
+++ b/Theme/Backend/settings-general.tpl.php
@@ -31,7 +31,7 @@ $volumes = \phpOMS\Utils\Converter\VolumeType::getConstants();
$temperatures = \phpOMS\Utils\Converter\TemperatureType::getConstants();
?>
-
+ | ||||