diff --git a/application/views/scripts/config/module.phtml b/application/views/scripts/config/module.phtml index cd6ad5af8..c41fdbf3a 100644 --- a/application/views/scripts/config/module.phtml +++ b/application/views/scripts/config/module.phtml @@ -1,70 +1,74 @@
-tabs ?> -

escape($module->getTitle()) ?>

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

+ escape($module->getTitle()) ?> +

+ + translate('There is no such module installed.') ?> + + getDependencies(); + $restrictions = $module->getProvidedRestrictions(); + $permissions = $module->getProvidedPermissions(); + $state = $moduleData->enabled ? ($moduleData->loaded ? 'enabled' : 'failed') : 'disabled' + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
escape($this->translate('Name')) ?>escape($module->getName()) ?>
translate('State') ?> + qlink($this->translate('disable'), 'config/moduledisable', array( + 'name' => $module->getName() + )) ?> + + + qlink($this->translate('enable'), 'config/moduleenable', array( + 'name' => $module->getName() + )) ?> + +
escape($this->translate('Version')) ?>escape($module->getVersion()) ?>
escape($this->translate('Description')) ?>escape($module->getDescription())) ?>
escape($this->translate('Dependencies')) ?> + translate('This module has no dependencies'); + else: foreach ($dependencies as $name => $versionString): ?> + escape($name) ?>: escape($versionString) ?>
+ +
escape($this->translate('Permissions')) ?> + + escape($permission->name) ?>: escape($permission->description) ?>
+ +
escape($this->translate('Restrictions')) ?> + + escape($restriction->name) ?>: escape($restriction->description) ?>
+ +
diff --git a/application/views/scripts/config/modules.phtml b/application/views/scripts/config/modules.phtml index 01fc1c48d..25b57533d 100644 --- a/application/views/scripts/config/modules.phtml +++ b/application/views/scripts/config/modules.phtml @@ -1,36 +1,36 @@
tabs ?> -

translate('Installed Modules') ?>

paginationControl($modules) ?>
- - - - - + + + +
- enabled && $module->loaded) { - $icon = $this->icon('thumbs-up'); - $title = sprintf($this->translate('Module %s is enabled'), $module->name); - } elseif (! $module->enabled) { - $icon = $this->icon('thumbs-down'); - $title = sprintf($this->translate('Module %s is disabled'), $module->name); - } else { // ! $module->loaded - $icon = $this->icon('thumbs-down'); - $title = sprintf($this->translate('Module %s has failed to load'), $module->name); - } +

translate('Installed Modules') ?>

+ + + + + - - - -
+ enabled && $module->loaded) { + $icon = $this->icon('thumbs-up'); + $title = sprintf($this->translate('Module %s is enabled'), $module->name); + } elseif (! $module->enabled) { + $icon = $this->icon('thumbs-down'); + $title = sprintf($this->translate('Module %s is disabled'), $module->name); + } else { // ! $module->loaded + $icon = $this->icon('thumbs-down'); + $title = sprintf($this->translate('Module %s has failed to load'), $module->name); + } - echo $this->qlink( - $icon . $this->escape($module->name), - 'config/module/', - array('name' => $module->name), - array('title' => $title), - false - ); ?> -
+ echo $this->qlink( + $icon . $this->escape($module->name), + 'config/module/', + array('name' => $module->name), + array('title' => $title), + false + ); ?> +