"none", "English" =>"English-US", "Basque" => "Basque", "Chinese (Traditonal/Big5)" => "Chinese-Big5", "Chinese (Simplified/GB2312)" => "Chinese-GB2312", "Czech" => "Czech", "Danish" => "Danish", "Dutch" =>"Dutch", "Estonian" => "Estonian", "French" =>"French", "Galician" => "Galician", "German" =>"German", "Holo (Taiwanese)" => "Holo-Big5", "Hungarian" =>"Hungarian", "Icelandic" => "Icelandic", "Italian" => "Italian", "Japanese" => "Japanese", "Korean" =>"Korean", "Norwegian" => "Norwegian", "Polish" => "Polish", "Portuguese" =>"Portuguese", "Portuguese/Brazil" => "Portuguese_BR", "Russian" => "Russian", "Spanish" =>"Spanish", "Swedish" =>"Swedish", "Turkish" =>"Turkish" // add new languages here! (don't forget to add a comma at the end of // last line above.) ); // If the user sets "Browser-defined" as their language setting, then // use the $HTTP_ACCEPT_LANGUAGE settings to determine the language. // The array below translates browser language abbreviations into // our available language files. // NOTE: These should all be lowercase on the left side even though // the proper listing is like "en-US"! // Not sure what the abbreviation is? Check out the following URL: // http://www.geocities.com/click2speak/languages.html $browser_languages = array ( "eu" => "Basque", "zh" => "Chinese-GB2312", // Simplified Chinese "zh-cn" => "Chinese-GB2312", "zh-tw" => "Chinese-Big5", // Traditional Chinese "cs" => "Czech", "en" => "English-US", "en-us" => "English-US", "en-gb" => "English-US", "da" => "Danish", "nl" =>"Dutch", "ee" => "Estonian", "fr" =>"French", "fr-ch" =>"French", // French/Swiss "fr-ca" =>"French", // French/Canada "gl" => "Galician", "de" =>"German", "de-at" =>"German", // German/Austria "de-ch" =>"German", // German/Switzerland "de-de" =>"German", // German/German "hu" => "Hungarian", "zh-min-nan-tw" => "Holo-Big5", "is" => "Icelandic", "it" => "Italian", "it-ch" => "Italian", // Italian/Switzerland "ja" => "Japanese", "ko" =>"Korean", "no" => "Norwegian", "pl" => "Polish", "pt" =>"Portuguese", "pt-br" => "Portuguese_BR", // Portuguese/Brazil "ru" =>"Russian", "es" =>"Spanish", "sv" =>"Swedish", "tr" =>"Turkish", "cy" => "Welsh" ); if ( $single_user != "Y" ) $single_user_login = ""; // Make sure magic quotes is enabled, since this app requires it. if ( get_magic_quotes_gpc () == 0 ) { ob_start (); phpinfo (); $val = ob_get_contents (); ob_end_clean (); echo "
"; if ( preg_match ( "/>([^<>]*php.ini)", $val, $matches ) ) { echo "Please edit the following file and restart your server:
\n" . "
" . $matches[1] . "\n"; } echo "