- fixed one misspelling

- removed language list filtering
This commit is contained in:
Piotr Przybylski
2008-09-24 18:15:55 +00:00
parent 651cc1e837
commit 1665acfdcc
3 changed files with 5 additions and 21 deletions

View File

@@ -27,7 +27,7 @@ $separator = PMA_get_arg_separator('html');
messages_begin();
//
// Check phpMyAdmin version
// Check phpMyAdmin version
//
if (isset($_GET['version_check'])) {
PMA_version_check();
@@ -63,7 +63,7 @@ if (!$is_https) {
?>
<form id="select_lang" method="post" action="<?php echo htmlspecialchars($_SERVER['REQUEST_URI']) ?>">
<?php echo PMA_generate_common_hidden_inputs() ?>
<?php echo PMA_generate_common_hidden_inputs() ?>
<bdo xml:lang="en" dir="ltr"><label for="lang">
<?php echo $GLOBALS['strLanguage'] . ($GLOBALS['strLanguage'] != 'Language' ? ' - Language' : '') ?>
</label></bdo><br />
@@ -72,7 +72,7 @@ if (!$is_https) {
// create language list
$lang_list = array();
foreach ($all_languages as $each_lang_key => $each_lang) {
if (!file_exists('./setup/lang/' . $each_lang[1] . '.inc.php')) {
if (!file_exists($GLOBALS['lang_path'] . $each_lang[1] . '.inc.php')) {
continue;
}