= $this->escape($this->translate('Name')) ?> | -= $this->escape($module->getName()) ?> | -
---|---|
= $this->translate('State') ?> | -= $state ?> - = $this->qlink($this->translate('disable'), 'config/moduledisable', array( - 'name' => $module->getName() - )) ?> - - - = $this->qlink($this->translate('enable'), 'config/moduleenable', array( - 'name' => $module->getName() - )) ?> - - | -
= $this->escape($this->translate('Version')) ?> | -= $this->escape($module->getVersion()) ?> |
= $this->escape($this->translate('Description')) ?> | -= nl2br($this->escape($module->getDescription())) ?> | -
= $this->escape($this->translate('Dependencies')) ?> | -translate('This module has no dependencies');
-
-else: foreach ($dependencies as $name => $versionString): ?>
-= $this->escape($name) ?>: = $this->escape($versionString) ?> - |
-
= $this->escape($this->translate('Permissions')) ?> | -
-= $this->escape($permission->name) ?>: = $this->escape($permission->description) ?> - |
-
= $this->escape($this->translate('Restrictions')) ?> | -
-= $this->escape($restriction->name) ?>: = $this->escape($restriction->description) ?> - |
-
+ = $this->escape($module->getTitle()) ?> +
+ + = $this->translate('There is no such module installed.') ?> + + getDependencies(); + $restrictions = $module->getProvidedRestrictions(); + $permissions = $module->getProvidedPermissions(); + $state = $moduleData->enabled ? ($moduleData->loaded ? 'enabled' : 'failed') : 'disabled' + ?> += $this->escape($this->translate('Name')) ?> | += $this->escape($module->getName()) ?> | +
---|---|
= $this->translate('State') ?> | += $state ?> + = $this->qlink($this->translate('disable'), 'config/moduledisable', array( + 'name' => $module->getName() + )) ?> + + + = $this->qlink($this->translate('enable'), 'config/moduleenable', array( + 'name' => $module->getName() + )) ?> + + | +
= $this->escape($this->translate('Version')) ?> | += $this->escape($module->getVersion()) ?> |
= $this->escape($this->translate('Description')) ?> | += nl2br($this->escape($module->getDescription())) ?> | +
= $this->escape($this->translate('Dependencies')) ?> | +
+ translate('This module has no dependencies');
+ else: foreach ($dependencies as $name => $versionString): ?>
+ = $this->escape($name) ?>: = $this->escape($versionString) ?> + + |
+
= $this->escape($this->translate('Permissions')) ?> | +
+
+ = $this->escape($permission->name) ?>: = $this->escape($permission->description) ?> + + |
+
= $this->escape($this->translate('Restrictions')) ?> | +
+
+ = $this->escape($restriction->name) ?>: = $this->escape($restriction->description) ?> + + |
+