/** * Parse the form */ protected function parse() { parent::parse(); // prevent XSS $filter = SpoonFilter::arrayMapRecursive('htmlspecialchars', $this->filter); $this->tpl->assign($filter); }
/** * Parse the form * * @return void */ protected function parse() { // call parent parent::parse(); // assign categories $this->tpl->assign('categories', $this->categories); }
/** * Parse the form * * @return void */ protected function parse() { // call parent parent::parse(); // parse filter $this->tpl->assign($this->filter); }
/** * Parse the page */ protected function parse() { parent::parse(); // get url $url = BackendModel::getURLForBlock($this->URL->getModule(), 'detail'); $url404 = BackendModel::getURL(404); // parse additional variables if ($url404 != $url) { $this->tpl->assign('detailURL', SITE_URL . $url); } }
/** * Parse the form * * @return void */ protected function parse() { // call parent parent::parse(); }
/** * Parse the form * * @todo method is not necessary see the content... */ protected function parse() { parent::parse(); }
/** * Parse */ protected function parse() { parent::parse(); // parse some variables $this->tpl->assign('templates', $this->templates); $this->tpl->assign('isGod', $this->isGod); $this->tpl->assign('positions', $this->positions); $this->tpl->assign('extrasData', json_encode(BackendExtensionsModel::getExtrasData())); $this->tpl->assign('extrasById', json_encode(BackendExtensionsModel::getExtras())); $this->tpl->assign('prefixURL', rtrim(BackendPagesModel::getFullURL(1), '/')); $this->tpl->assign('formErrors', (string) $this->frm->getErrors()); // get default template id $defaultTemplateId = BackendModel::getModuleSetting($this->getModule(), 'default_template', 1); // assign template $this->tpl->assignArray($this->templates[$defaultTemplateId], 'template'); // parse the form $this->frm->parse($this->tpl); // parse the tree $this->tpl->assign('tree', BackendPagesModel::getTreeHTML()); }
/** * Parse the form */ protected function parse() { parent::parse(); // assign form errors $this->tpl->assign('formErrors', (string) $this->frm->getErrors()); }
/** * Parse the form */ protected function parse() { parent::parse(); $this->tpl->assign($this->filter); }