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();
23 return ''; // ?? what here?
28 function applyCSSIncludes($pg)
31 if (isset($ff->Pman['css_path'])) {
32 return; // temporary until we migrate the live site
35 $pg->css_includes[__CLASS__] = array(
36 "{$pg->rootURL}/roojs1/css-bootstrap/font-awesome.css",
37 "{$pg->rootURL}/roojs1/css-bootstrap/bootstrap.min.css",
38 "{$pg->rootURL}/roojs1/css-bootstrap/roojs-bootstrap.css"
43 $pg->css_includes[__CLASS__] = array(
44 "{$pg->rootURL}/roojs1/fonts/font-awesome.css",
45 "{$pg->rootURL}/roojs1/css-bootstrap4/bootstrap.min.css",
46 "{$pg->rootURL}/roojs1/css-bootstrap4/roojs-bootstrap.css"
48 // let's try the new look?
50 $pg->css_includes[__CLASS__] = array(
51 "{$pg->rootURL}/roojs1/fonts/nunito.css",
52 "{$pg->rootURL}/roojs1/fonts/font-awesome.css",
53 "{$pg->rootURL}/roojs1/css-bootstrap4/sb-admin-2.min.css",
54 "{$pg->rootURL}/roojs1/css-bootstrap4/roojs-bootstrap.css"