diff --git a/application/controllers/AboutController.php b/application/controllers/AboutController.php index fc1c78931..f9f5be5b0 100644 --- a/application/controllers/AboutController.php +++ b/application/controllers/AboutController.php @@ -5,11 +5,14 @@ namespace Icinga\Controllers; use Icinga\Application\Version; use Icinga\Web\Controller\ActionController; +use Icinga\Application\Icinga; class AboutController extends ActionController { public function indexAction() { + $this->view->hasPermission = $this->hasPermission('config/modules'); $this->view->version = Version::get(); + $this->view->modules = Icinga::app()->getModuleManager()->getLoadedModules(); } } diff --git a/application/views/scripts/about/index.phtml b/application/views/scripts/about/index.phtml index f2ce994d1..cd9a9aabd 100644 --- a/application/views/scripts/about/index.phtml +++ b/application/views/scripts/about/index.phtml @@ -30,4 +30,29 @@ ?> translate('Icinga on Facebook') ?>

+

translate('Loaded modules') ?>

+ + + + + + + + + getName(); + ?> + + + + + + +
translate('Name') ?>translate('Version') ?>
qlink( + $name, + 'config/module/', + array('name' => $name), + array('title' => sprintf($this->translate('Show the overview of the %s module'), $name)) + ) : $name ?>getVersion() ?>