X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=login.php;h=7df3d520cff04ffb03d4e27231e3bf633d88fea1;hb=0cd00c8303f7d42b7da32139d5a22463d525ded7;hp=a2d0a124f9c5676166531acf0a111371cb42f247;hpb=3dcc26f728beaeee605bad5e641759c74d83732e;p=contagged diff --git a/login.php b/login.php index a2d0a12..7df3d52 100644 --- a/login.php +++ b/login.php @@ -1,27 +1,30 @@ -assign('msg',$msg); +//display templates +header('Content-Type: text/html; charset=utf-8'); +$smarty->display('login.tpl'); - //prepare templates - tpl_std(); - $smarty->assign('msg',$msg); - //display templates - header('Content-Type: text/html; charset=utf-8'); - $smarty->display('header.tpl'); - $smarty->display('login.tpl'); - $smarty->display('footer.tpl'); -?>