/** * Display blocks after loaded template of page * */ function displayAfterLoadTempl() { $lookupSearchControls = $this->xt->fetch_loaded('searchform_text') . $this->xt->fetch_loaded('searchform_search') . $this->xt->fetch_loaded('searchform_showall'); $this->xt->assign("lookupSearchControls", $lookupSearchControls); $this->fillSetCntrlMaps(); $returnJSON['controlsMap'] = $this->controlsHTMLMap; $returnJSON['settings'] = $this->jsSettings; $this->xt->assign("header", false); $this->xt->assign("footer", false); $returnJSON["html"] = parent::displayAfterLoadTempl() . $this->xt->fetch_loaded("body"); $returnJSON['idStartFrom'] = $this->flyId; $returnJSON['success'] = true; echo my_json_encode($returnJSON); }
/** * Display blocks after loaded template of page * */ function displayAfterLoadTempl() { return parent::displayAfterLoadTempl() . $this->xt->fetch_loaded("body"); }
/** * Display blocks after loaded template of page * */ function displayAfterLoadTempl() { $lookupSearchControls = $this->xt->fetch_loaded('searchform_text') . $this->xt->fetch_loaded('searchform_search') . $this->xt->fetch_loaded('searchform_showall'); $this->xt->assign("lookupSearchControls", $lookupSearchControls); $this->addControlsJSAndCSS(); $this->fillSetCntrlMaps(); $returnJSON['controlsMap'] = $this->controlsHTMLMap; $returnJSON['viewControlsMap'] = $this->viewControlsHTMLMap; $returnJSON['settings'] = $this->jsSettings; $this->xt->assign("header", false); $this->xt->assign("footer", false); $returnJSON["html"] = parent::displayAfterLoadTempl() . $this->xt->fetch_loaded("body"); $returnJSON['idStartFrom'] = $this->flyId; $returnJSON['success'] = true; $returnJSON["additionalJS"] = $this->grabAllJsFiles(); $returnJSON["CSSFiles"] = $this->grabAllCSSFiles(); if (postvalue("onFly")) { echo my_json_encode($returnJSON); } else { echo '<textarea>' . htmlspecialchars(my_json_encode($returnJSON)) . '</textarea>'; } }