Pman.php
authorEdward <edward@roojs.com>
Thu, 4 Oct 2018 11:30:03 +0000 (19:30 +0800)
committerEdward <edward@roojs.com>
Thu, 4 Oct 2018 11:30:03 +0000 (19:30 +0800)
Pman.php

index 7a9aa1d..8cc13fc 100644 (file)
--- 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)) {