Pman.Dialog.BuilderAdd.bjs
[Pman.Builder] / App.php
diff --git a/App.php b/App.php
index 0c64fe7..c54e0fb 100644 (file)
--- a/App.php
+++ b/App.php
@@ -8,7 +8,9 @@ require_once 'Pman.php';
 
 class Pman_Builder_App extends Pman
 {
-    var $template = "frame.html";
+    var $masterTemplate = "frame.html";
+    
+    
     // getAuth - everyone allowed in...
     function getAuth() {
         return true;
@@ -16,8 +18,7 @@ class Pman_Builder_App extends Pman
   
     function get($app) {
         
-        
-        $app = $bits[0];
+         
         
         if (empty($app)) {
             die("Invalid Application");
@@ -29,11 +30,16 @@ class Pman_Builder_App extends Pman
             die("invalid module");
         }
         
-        if (!empty($_REQUEST['no_parts')) {
+        if (!empty($_REQUEST['no_parts'])) {
+            // used to do the previewer
+            
             $this->builderJs = array();
             //should it try and load the core???
-            $o->enable = 'Core';
-            $o->enableArray = array('Core');
+            $o  = HTML_FlexyFramework::get();
+            $o->enable = '';
+            $o->enableArray = array('');
+            $o->disable  = 'Core';
+            $this->disable_jstemplate = true;
             return;
         }