1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Started translation implemenation, added 1.2 english lang file

git-svn-id: file:///svn/phpbb/trunk@73 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson
2001-03-02 05:46:32 +00:00
parent adb77ffa23
commit dcc2b2fe19
8 changed files with 414 additions and 24 deletions

View File

@@ -68,7 +68,7 @@ else
$default_lang = $config[0]["default_lang"];
$sys_lang = $default_lang;
}
include('language/lang_'.$default_lang.'.'.$phpEx);
// Check if user is banned
if(!auth("ip ban", $db, "", USER_IP))
{
@@ -99,7 +99,7 @@ if (!$user_logged_in)
if(isset($HTTP_COOKIE_VARS[$cookie_name]))
{
$userdata = get_userdata_from_id($HTTP_COOKIE_VARS["$cookie_name"], $db);
if(!auth("username ban", $db, $userdata["user_id"], "", "", "", "", "", "", "", ""))
if(!auth("username ban", $db, $userdata["user_id"]))
{
error_die($db, BANNED);
}