/** * Return Tools-Page as HTML-View (only Logout) */ public function getTools() { require 'classes/view.php'; $view = new view(); $view->setTemplate('admin/tools'); return $view->loadTemplate(new stdClass()); }
/** * Returns Login-Page as HTML-View * @param unknown_type $succesLocation */ public function getMain($succesLocation = '') { require 'classes/view.php'; $view = new view(); $view->setTemplate('login'); $model = new stdClass(); $model->submitUrl = 'Admin'; return $view->loadTemplate($model); }