parent
a1a8d4c157
commit
5ade338632
|
@ -36,7 +36,7 @@ class ModulesController extends ActionController
|
||||||
|
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
$this->manager = Icinga::app()->moduleManager();
|
$this->manager = Icinga::app()->getModuleManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function indexAction()
|
public function indexAction()
|
||||||
|
|
|
@ -17,7 +17,7 @@ class StaticController extends ActionController
|
||||||
|
|
||||||
private function getModuleList()
|
private function getModuleList()
|
||||||
{
|
{
|
||||||
$modules = Icinga::app()->moduleManager()->getLoadedModules();
|
$modules = Icinga::app()->getModuleManager()->getLoadedModules();
|
||||||
|
|
||||||
// preliminary static definition
|
// preliminary static definition
|
||||||
$result = array();
|
$result = array();
|
||||||
|
|
|
@ -299,7 +299,7 @@ class ActionController extends ZfController
|
||||||
|
|
||||||
$css = $less->compileFile($cssdir . '/pdfprint.less');
|
$css = $less->compileFile($cssdir . '/pdfprint.less');
|
||||||
/*
|
/*
|
||||||
foreach (\Icinga\Application\Icinga::app()->moduleManager()->getLoadedModules() as $name => $module) {
|
foreach (\Icinga\Application\Icinga::app()->getModuleManager()->getLoadedModules() as $name => $module) {
|
||||||
if ($module->hasCss()) {
|
if ($module->hasCss()) {
|
||||||
$css .= $less->compile(
|
$css .= $less->compile(
|
||||||
'.icinga-module.module-'
|
'.icinga-module.module-'
|
||||||
|
|
|
@ -46,7 +46,7 @@ class Form extends AbstractWidget
|
||||||
$module_name = null;
|
$module_name = null;
|
||||||
}
|
}
|
||||||
if ($module_name !== null) {
|
if ($module_name !== null) {
|
||||||
$fname = $app->moduleManager()->getModule($module_name)->getBaseDir()
|
$fname = $app->getModuleManager()->getModule($module_name)->getBaseDir()
|
||||||
. '/application/forms/'
|
. '/application/forms/'
|
||||||
. implode('/', $fparts)
|
. implode('/', $fparts)
|
||||||
. 'Form.php';
|
. 'Form.php';
|
||||||
|
|
Loading…
Reference in New Issue