Fixed some bugs with banning and some code that wasnt updated when we changed the theme/template system

git-svn-id: file:///svn/phpbb/trunk@1218 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson 2001-10-16 10:35:24 +00:00
parent 7fd3e1943c
commit 46413f440e
3 changed files with 3 additions and 3 deletions

View file

@ -359,7 +359,7 @@ else
$u_result = $db->sql_query($sql);
$user_list = $db->sql_fetchrowset($u_result);
$select_userlist = "";
$select_userlist = "<option value=\"0\">Select a Username</option>";
for($i = 0; $i < count($user_list); $i++)
{
$select_userlist .= "<option value=\"" . $user_list[$i]['user_id'] . "\">" . $user_list[$i]['username'] . "</option>";

View file

@ -1069,7 +1069,7 @@ function message_die($msg_code, $msg_text = "", $msg_title = "", $err_line = "",
if( empty($theme) )
{
$theme = setuptheme($board_config['default_theme']);
$theme = setup_style($board_config['default_style']);
}
//

View file

@ -78,7 +78,7 @@ function session_begin($user_id, $user_ip, $page_id, $session_length, $login = 0
//
if($ban_info['ban_ip'] || $ban_info['ban_userid'])
{
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '.'.$phpEx);
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.'.$phpEx);
message_die(CRITICAL_MESSAGE, $lang['You_been_banned']);
}
else