projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d8771f1
)
Pman.php
author
Edward
<edward@roojs.com>
Thu, 4 Oct 2018 11:30:03 +0000
(19:30 +0800)
committer
Edward
<edward@roojs.com>
Thu, 4 Oct 2018 11:30:03 +0000
(19:30 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/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) {
$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")) {
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");
$this->outputJavascriptDir("Pman/$mod/widgets", "*.js");
$this->outputJavascriptDir("Pman/$mod", "*.js");
-
}
if (empty($this->disable_jstemplate)) {
}
if (empty($this->disable_jstemplate)) {