From: Edward Date: Thu, 4 Oct 2018 11:30:03 +0000 (+0800) Subject: Pman.php X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=33ac0d61a5fce3d82c7803350eb2636a54c1df3f Pman.php --- diff --git a/Pman.php b/Pman.php index 7a9aa1d..8cc13fc 100644 --- a/Pman.php +++ b/Pman.php @@ -704,16 +704,7 @@ class Pman extends HTML_FlexyFramework_Page $is_bootstrap = in_array('BAdmin', $mods); foreach($mods as $mod) { - - $cls = 'Pman_' . $mod . '_Pman'; - - if (file_exists($this->rootDir . '/'.str_replace('_','/', $cls). '.php')) { - require_once str_replace('_','/', $cls). '.php'; - $c = new $cls(); - if (method_exists($c,'outputJavascriptIncludes')) { - $c->outputOverlayStringJavascript(); - } - } + // add the css file.. if ($is_bootstrap) { if (!file_exists($this->rootDir."/Pman/$mod/is_bootstrap")) { @@ -726,7 +717,6 @@ class Pman extends HTML_FlexyFramework_Page $this->outputJavascriptDir("Pman/$mod/widgets", "*.js"); $this->outputJavascriptDir("Pman/$mod", "*.js"); - } if (empty($this->disable_jstemplate)) {