From de744fdc83f435e6f72d26ece2af4b1747ebe7b2 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 23 Feb 2015 17:17:48 +0100 Subject: [PATCH] Add proper title to each module documentation link refs #8458 --- .../controllers/ModuleController.php | 2 +- .../views/scripts/module/index.phtml | 24 +++++++++++-------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/modules/doc/application/controllers/ModuleController.php b/modules/doc/application/controllers/ModuleController.php index 22c5e569c..eb9f4dcf1 100644 --- a/modules/doc/application/controllers/ModuleController.php +++ b/modules/doc/application/controllers/ModuleController.php @@ -52,7 +52,7 @@ class Doc_ModuleController extends DocController foreach ($moduleManager->listEnabledModules() as $module) { $path = $this->getPath($module, $moduleManager->getModuleDir($module, '/doc'), true); if ($path !== null) { - $modules[] = $module; + $modules[] = $moduleManager->getModule($module); } } $this->view->modules = $modules; diff --git a/modules/doc/application/views/scripts/module/index.phtml b/modules/doc/application/views/scripts/module/index.phtml index 0d8350f48..e0c57ae79 100644 --- a/modules/doc/application/views/scripts/module/index.phtml +++ b/modules/doc/application/views/scripts/module/index.phtml @@ -1,15 +1,19 @@
- showOnlyCloseButton() ?> -

translate('Module documentations') ?>

+ showOnlyCloseButton(); ?> +

translate('Module documentations'); ?>

-
+ \ No newline at end of file