feather = \Slim\Slim::getInstance(); $this->start = $this->feather->start; $this->config = $this->feather->config; $this->user = $this->feather->user; $this->request = $this->feather->request; $this->model = new \model\header(); } private $title; private $page; private $focus_element; private $paging_links; private $required_fields; private $page_head; public function setTitle($title) { $this->title = $title; return $this; } public function setPage($page) { $this->page = $page; return $this; } public function setFocusElement($focus_element) { $this->focus_element = $focus_element; return $this; } public function setPagingLinks($paging_links) { $this->paging_links = $paging_links; return $this; } public function setRequiredFields($required_fields) { $this->required_fields = $required_fields; return $this; } public function setPageHead($page_head) { $this->page_head = $page_head; return $this; } public function display() { global $lang_common; // START SUBST -
TODO /*if (isset($focus_element)) { $tpl_main = str_replace('', '', $tpl_main); }*/ // END SUBST - // START SUBST -'.$lang_common['Not logged in'].'
'; } else { $page_statusinfo[] = '