From 3605880fd1ba3dbd99ee6cb0ad728688caf596c1 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 23 Feb 2015 17:19:06 +0100 Subject: [PATCH] Add proper titles to the module overview refs #8458 --- application/views/scripts/config/modules.phtml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/application/views/scripts/config/modules.phtml b/application/views/scripts/config/modules.phtml index 01fc1c48d..2c79fcee0 100644 --- a/application/views/scripts/config/modules.phtml +++ b/application/views/scripts/config/modules.phtml @@ -11,22 +11,18 @@ enabled && $module->loaded) { - $icon = $this->icon('thumbs-up'); - $title = sprintf($this->translate('Module %s is enabled'), $module->name); + echo $this->icon('thumbs-up', 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); + echo $this->icon('thumbs-down', 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->icon('thumbs-down', sprintf($this->translate('Module %s has failed to load'), $module->name)); } echo $this->qlink( - $icon . $this->escape($module->name), + $module->name, 'config/module/', array('name' => $module->name), - array('title' => $title), - false + array('title' => sprintf($this->translate('Show the overview of the %s module'), $module->name)) ); ?>