Fix #5680 - testing BS4 / envato
authorAlan Knowles <alan@roojs.com>
Fri, 25 Jan 2019 02:24:20 +0000 (10:24 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 25 Jan 2019 02:24:20 +0000 (10:24 +0800)
Pman.php
templates/master.html

index e10b2c2..724fd38 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -21,20 +21,7 @@ class Pman_BAdmin_Pman {
     {
         $ff = HTML_FlexyFramework2::get();
         
-        /*
-         not sure if we can delete this yet..
-         
-        $css_path = empty($ff->Pman['css_path']) ?
-            "{$pg->rootURL}/roojs1/css-bootstrap" :
-            ($pg->rootURL.'/'.$ff->Pman['css_path']);
         
-        $pg->assetArrayToHtml(array(
-            "{$pg->rootURL}/roojs1/css-bootstrap/font-awesome.css",
-            "{$css_path}/bootstrap.min.css",
-            "{$css_path}/roojs-bootstrap.css"
-            
-        ), 'css');
-        */
     }
    
     
@@ -44,10 +31,11 @@ class Pman_BAdmin_Pman {
         if (isset($ff->Pman['css_path'])) {
             return; // temporary until we migrate the live site
         }
+        
         $pg->css_includes[__CLASS__] =  array(
             "{$pg->rootURL}/roojs1/css-bootstrap/font-awesome.css",
-            "{$pg->rootURL}/bootstrap.min.css",
-            "{$pg->rootURL}/roojs-bootstrap.css"
+            "{$pg->rootURL}/roojs1/css-bootstrap/bootstrap.min.css",
+            "{$pg->rootURL}/roojs1/css-bootstrap/roojs-bootstrap.css"
         );
         
     }
index 205dc43..6f2e7a7 100644 (file)
@@ -14,7 +14,8 @@
            
        <flexy:include src="favicon.html"></flexy:include>
         
-        {outputCSSIncludes()}
+        {outputCSSIncludes()} 
+       
        
      </head>