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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user