Fixes #373 & #374
@@ -527,12 +527,15 @@ function Credits($in_admin = false)
// Don't blink. Don't even blink. Blink and you're dead.
loadLanguage('Who');
- $context[$context['admin_menu_name']]['tab_data'] = array(
- 'title' => $txt['support_credits_title'],
- 'help' => '',
- 'description' => '',
- );
-
+ if($in_admin)
+ {
+ $context[$context['admin_menu_name']]['tab_data'] = array(
+ 'title' => $txt['support_credits_title'],
+ 'help' => '',
+ 'description' => '',
+ );
+ }
+
$context['credits'] = array(
array(
'pretext' => $txt['credits_intro'],
@@ -8,7 +8,7 @@ global $forum_copyright, $forum_version, $webmaster_email, $scripturl, $context,
// - http://www.php.net/function.pspell-new
// - http://www.php.net/function.setlocale
// Again, SPELLING SHOULD BE '' 99% OF THE TIME!! Please read this!
-$txt['lang_locale'] = '';
+$txt['lang_locale'] = 'en_US';
$txt['lang_dictionary'] = 'en';
$txt['lang_spelling'] = 'american';