Example #1
0
 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     // prevent XSS
     $filter = SpoonFilter::arrayMapRecursive('htmlspecialchars', $this->filter);
     $this->tpl->assign($filter);
 }
Example #2
0
 /**
  * Parse the form
  *
  * @return	void
  */
 protected function parse()
 {
     // call parent
     parent::parse();
     // assign categories
     $this->tpl->assign('categories', $this->categories);
 }
Example #3
0
 /**
  * Parse the form
  *
  * @return	void
  */
 protected function parse()
 {
     // call parent
     parent::parse();
     // parse filter
     $this->tpl->assign($this->filter);
 }
Example #4
0
 /**
  * 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);
     }
 }
Example #5
0
 /**
  * Parse the form
  *
  * @return	void
  */
 protected function parse()
 {
     // call parent
     parent::parse();
 }
Example #6
0
 /**
  * Parse the form
  *
  * @todo method is not necessary see the content...
  */
 protected function parse()
 {
     parent::parse();
 }
Example #7
0
 /**
  * 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());
 }
Example #8
0
 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     // assign form errors
     $this->tpl->assign('formErrors', (string) $this->frm->getErrors());
 }
Example #9
0
 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     $this->tpl->assign($this->filter);
 }