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();
25 not sure if we can delete this yet..
27 $css_path = empty($ff->Pman['css_path']) ?
28 "{$pg->rootURL}/roojs1/css-bootstrap" :
29 ($pg->rootURL.'/'.$ff->Pman['css_path']);
31 $pg->assetArrayToHtml(array(
32 "{$pg->rootURL}/roojs1/css-bootstrap/font-awesome.css",
33 "{$css_path}/bootstrap.min.css",
34 "{$css_path}/roojs-bootstrap.css"
41 function applyCSSIncludes($pg)
44 if (isset($ff->Pman['css_path'])) {
45 return; // temporary until we migrate the live site
47 $pg->css_includes[__CLASS__] = array(
48 "{$pg->rootURL}/roojs1/css-bootstrap/font-awesome.css",
49 "{$pg->rootURL}/bootstrap.min.css",
50 "{$pg->rootURL}/roojs-bootstrap.css"