fixed login page

This commit is contained in:
seek3r 2000-09-29 20:41:34 +00:00
parent 34d674b019
commit d53ea39b93

View File

@ -97,18 +97,18 @@
} }
} else { } else {
// if ($last_loginid) { if ($last_loginid) {
// $phpgw->db->query("select preference_value from preferences where preference_owner='$last_loginid' " $phpgw->db->query("select preference_value from preferences where preference_owner='$last_loginid' "
// . "and preference_name='lang'"); . "and preference_name='lang'");
// $phpgw->db->next_record(); $phpgw->db->next_record();
// if (! $phpgw->db->f("preference_value")) { if (! $phpgw->db->f("preference_value")) {
$users_lang = "en"; $users_lang = "en";
// } else { // } else {
// $users_lang = $phpgw->db->f("value"); // $users_lang = $phpgw->db->f("preference_value");
// include($phpgw_info["server"]["include_root"] . "/lang/$users_lang/" . $users_lang // include($phpgw_info["server"]["include_root"] . "/lang/$users_lang/" . $users_lang
// . "_login.inc.php"); // . "_login.inc.php");
// } }
// } }
} }
$tmpl->set_var("login_url", $phpgw_info["server"]["webserver_url"] . "/login.php"); $tmpl->set_var("login_url", $phpgw_info["server"]["webserver_url"] . "/login.php");
$tmpl->set_var("website_title", $phpgw_info["server"]["site_title"]); $tmpl->set_var("website_title", $phpgw_info["server"]["site_title"]);