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

Mainly language updates but some bug fixes too

git-svn-id: file:///svn/phpbb/trunk@1332 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-11-16 17:31:49 +00:00
parent 40ddc64afe
commit cac4518b39
22 changed files with 766 additions and 739 deletions

View File

@@ -163,16 +163,12 @@ function make_jumpbox($match_forum_id = 0)
}
}
}
else
{
$boxstring .= '<option value="-1">-- ! No Forums ! --</option>';
}
}
$boxstring .= '</select>';
}
else
{
$boxstring .= '<select><option value="-1">-- ! No Categories ! --</option></select>';
$boxstring .= '<select name="' . POST_FORUM_URL . '" onChange="if(this.options[this.selectedIndex].value != -1){ forms[\'jumpbox\'].submit() }"></select>';
}
if( isset($SID) )
@@ -275,6 +271,18 @@ function init_userprefs($userdata)
include($phpbb_root_path . 'language/lang_english/lang_main.' . $phpEx);
}
if( defined("IN_ADMIN") )
{
if( file_exists($phpbb_root_path . "language/lang_" . $board_config['default_lang'] . "/lang_admin.".$phpEx) )
{
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx);
}
else
{
include($phpbb_root_path . 'language/lang_english/lang_admin.' . $phpEx);
}
}
return;
}