From: <mo...@us...> - 2004-02-19 05:29:31
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4143 Modified Files: tiki-index.php Log Message: removed pleaselogin.tpl because merged in modified error.tpl with login_scr call Index: tiki-index.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/tiki-index.php,v retrieving revision 1.88 retrieving revision 1.89 diff -u -d -r1.88 -r1.89 --- tiki-index.php 11 Feb 2004 16:14:53 -0000 1.88 +++ tiki-index.php 19 Feb 2004 05:19:22 -0000 1.89 @@ -115,11 +115,11 @@ // Now check permissions to access this page if($tiki_p_view != 'y') { if (!isset($user)){ - $smarty->assign('msg',tra("Please login.")); - $smarty->display("pleaselogin.tpl"); - die; - } - $smarty->assign('msg',tra("Permission denied you cannot view this page")); + $smarty->assign('msg',$smarty->fetch('modules/mod-login_box.tpl')); + $smarty->assign('errortitle',tra("Please login")); + } else { + $smarty->assign('msg',tra("Permission denied you cannot view this page")); + } $smarty->display("error.tpl"); die; } |