/** * render login page */ public static function loginPage() { $pageSetup = array("title" => "Login", "js" => array()); View::renderPage("auth/login.php", $pageSetup); }
public function render() { $this->data['user'] = Authentication::getUser()->getData(); $this->data['content'] = $this->content; View::renderPage($this->view, $this->setup, $this->data); }
public static function registerInfoPage() { $pageSetup = array("title" => "Register Info"); View::renderPage("auth/register-info.php", $pageSetup); }