Apply translation info fix to the admin panel as well

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5214 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames 2005-09-19 20:49:06 +00:00
parent 2467f2cb9a
commit 3c488dab68

View file

@ -36,7 +36,7 @@ $template->set_filenames(array(
$template->assign_vars(array(
'PHPBB_VERSION' => ($userdata['user_level'] == ADMIN && $userdata['user_id'] != ANONYMOUS) ? '2' . $board_config['version'] : '',
'TRANSLATION_INFO' => $lang['TRANSLATION_INFO'])
'TRANSLATION_INFO' => (isset($lang['TRANSLATION_INFO'])) ? $lang['TRANSLATION_INFO'] : ((isset($lang['TRANSLATION'])) ? $lang['TRANSLATION'] : ''))
);
$template->pparse('page_footer');