From db19ddca253bf679af1aac7f15c71d077139d0f2 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 18 Feb 2014 18:13:51 +0000 Subject: [PATCH] Added module container, may be dropped again --- library/Icinga/Web/Controller/ActionController.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/library/Icinga/Web/Controller/ActionController.php b/library/Icinga/Web/Controller/ActionController.php index a7c6542b6..ec9effa1d 100755 --- a/library/Icinga/Web/Controller/ActionController.php +++ b/library/Icinga/Web/Controller/ActionController.php @@ -275,6 +275,16 @@ class ActionController extends Zend_Controller_Action if ($this->_request->getParam('format') === 'pdf' && $this->_request->getControllerName() !== 'static') { $this->sendAsPdfAndDie(); } + + // Module container + $module_name = $this->_request->getModuleName(); + $this->_helper->layout()->moduleStart = + '
' + . "\n" + ; + $this->_helper->layout()->moduleEnd = "
\n"; } protected function sendAsPdfAndDie()