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