mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Cleaned up login.php a little
This commit is contained in:
parent
2f30f55432
commit
acfddd1d24
@ -28,12 +28,10 @@
|
|||||||
Setcookie("kp3");
|
Setcookie("kp3");
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
$deny_login = False;
|
$deny_login = False;
|
||||||
|
|
||||||
$tmpl = new Template($phpgw_info["server"]["template_dir"]);
|
$tmpl = new Template($phpgw_info["server"]["template_dir"]);
|
||||||
|
$tmpl->set_file(array("login" => "login.tpl"));
|
||||||
$tmpl->set_file(array("login" => "login.tpl",
|
|
||||||
"login2" => "login2.tpl"));
|
|
||||||
|
|
||||||
// When I am updating my server, I don't want people logging in a messing
|
// When I am updating my server, I don't want people logging in a messing
|
||||||
// things up.
|
// things up.
|
||||||
@ -120,7 +118,6 @@
|
|||||||
$tmpl->set_var("lang_password",lang("password"));
|
$tmpl->set_var("lang_password",lang("password"));
|
||||||
$tmpl->set_var("lang_login",lang("login"));
|
$tmpl->set_var("lang_login",lang("login"));
|
||||||
|
|
||||||
$tmpl->parse("login2out","login2");
|
|
||||||
$tmpl->parse("loginout", "login");
|
$tmpl->parse("loginout", "login");
|
||||||
$tmpl->p("loginout");
|
$tmpl->p("loginout");
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user