From af6dd5f8f9844596e85db25a8e97df9e08cb795c Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Mon, 1 Jun 2015 18:46:12 +0200 Subject: Port alls sites to smarty and use the inheritance model --- login.php | 52 ++++++++-------------------------------------------- 1 file changed, 8 insertions(+), 44 deletions(-) (limited to 'login.php') diff --git a/login.php b/login.php index bbe1897..4435684 100644 --- a/login.php +++ b/login.php @@ -1,5 +1,7 @@ findOneByUsername($username); if ( !is_object($user) ) { @@ -26,45 +27,8 @@ } header('Location: .'); } -?> - - - - -User - - - -

Customer login

- -
-
-

User

-
- -
-
- -
-
 
- - -
-
-
- - - \ No newline at end of file + + $smarty = new Smarty; + + $smarty->display('login.tpl'); +?> \ No newline at end of file -- cgit v1.2.3-70-g09d2