protected function prepare() { $this->killPage('subscribe'); $this->killPage('forums'); $this->assign('noactions', true); return parent::prepare(); }
protected function prepare() { $tpl = parent::prepare(); global $wiz; $wiz = new PlWizard('Banana', PlPage::getCoreTpl('plwizard.tpl'), true, false); foreach ($this->pages as $name => &$mpage) { $wiz->addPage($this->handler, $mpage['text'], $name); } $wiz->apply(Platal::page(), $this->base, $this->page); return $tpl; }