$is_bootstrap = in_array('BAdmin', $mods);
foreach($mods as $mod) {
- // add the css file..
+
+ $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();
+ }
+ }
if ($is_bootstrap) {
if (!file_exists($this->rootDir."/Pman/$mod/is_bootstrap")) {