public function render($tpl = '') { switch ($this->getActionType()) { case 'login': $tpl = \Acd\conf::$DIR_TEMPLATES . '/ContentLogin.tpl'; break; case 'error': $tpl = \Acd\conf::$DIR_TEMPLATES . '/ContentError.tpl'; break; case 'index': $tpl = \Acd\conf::$DIR_TEMPLATES . '/ContentAdminIndex.tpl'; break; case 'new': $tpl = \Acd\conf::$DIR_TEMPLATES . '/ContentAdminNew.tpl'; break; case 'edit': case 'clone': $tpl = \Acd\conf::$DIR_TEMPLATES . '/ContentAdminEdit.tpl'; break; } return parent::render($tpl); }
public function render($tpl = '') { return parent::render(\Acd\conf::$DIR_TEMPLATES . '/Tools.tpl'); }
public function render($tpl = '') { return parent::render(\Acd\conf::$DIR_TEMPLATES . '/BaseSkeleton.tpl'); }