Subversion-Projekte lars-tiefland.ci

Revision

Revision 792 | Revision 809 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 792 Revision 801
Zeile 3... Zeile 3...
3
/**
3
/**
4
 *
4
 *
5
 * @package WebanOS CI
5
 * @package WebanOS CI
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
7
 * @copyright 2016
7
 * @copyright 2016
8
 * @version $Rev: 792 $
8
 * @version $Rev: 801 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class Login extends CI_Controller
11
class Login extends CI_Controller
12
{
12
{
Zeile 34... Zeile 34...
34
		$data["title"] = "Anmeldung";
34
		$data["title"] = "Anmeldung";
35
		$data["formstart"] = form_open("/login/execute/", array("class" => "login-form", ));
35
		$data["formstart"] = form_open("/login/execute/", array("class" => "login-form", ));
36
		$data["formend"] = "</form>";
36
		$data["formend"] = "</form>";
37
		$this->smarty->view('login.tpl', $data);
37
		$this->smarty->view('login.tpl', $data);
38
	}
38
	}
-
 
39
 
-
 
40
	public function logout()
-
 
41
	{
-
 
42
		unset($_SESSION["username"]);
-
 
43
		header("Location:/backend/");
-
 
44
	}
39
}
45
}
Zeile 40... Zeile 46...
40
 
46
 
41
?>
47
?>