3 * This is for the standard admin panel.
5 * if submodules modify this... then in theory it should not output anything?
7 * how this should work:
9 * Top Pman.php should call
11 * applyCSSIncludes($pg)
12 * then it mody $pg->css_includes[__CLASS__] with any new paths added.
14 * that way later modules can remove css from the path, or replace it compeletly..
17 class Pman_BAdmin_Pman {
20 function outputCSSIncludes($pg)
22 $ff = HTML_FlexyFramework2::get();
24 $css_path = empty($ff->Pman['css_path']) ?
25 "{$pg->rootURL}/roojs1/css-bootstrap" :
26 ($pg->rootURL.'/'.$ff->Pman['css_path']);
28 $pg->assetArrayToHtml(array(
29 "{$pg->rootURL}/roojs1/css-bootstrap/font-awesome.css",
30 "{$css_path}/bootstrap.min.css",
31 "{$css_path}/roojs-bootstrap.css"
38 function applyCSSIncludes($pg)
41 if (isset($ff->Pman['css_path'])) {
42 return; // temporary until we migrate the live site
44 $pg->css_includes[__CLASS__] = array(
45 "{$pg->rootURL}/roojs1/css-bootstrap/font-awesome.css",
46 "{$pg->rootURL}/bootstrap.min.css",
47 "{$pg->rootURL}/roojs-bootstrap.css"