From 37dec301be913fa20a48057838c59f64a70ced1f Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 23 Nov 2005 15:10:19 +0000 Subject: [PATCH] *REVERTED* correct lang definition --- ChangeLog | 2 +- libraries/display_select_lang.lib.php | 53 +++++++++++++++++---------- 2 files changed, 34 insertions(+), 21 deletions(-) diff --git a/ChangeLog b/ChangeLog index e849ccf35..5ffdb985d 100755 --- a/ChangeLog +++ b/ChangeLog @@ -6,7 +6,7 @@ $Id$ $Source$ 2005-11-23 Sebastian Mendel - * libraries/display_select_lang.lib.php: correct lang definition + * *REVERTED* libraries/display_select_lang.lib.php: correct lang definition * themes/original/*, libraries/auth/*.auth.lib.php, server_privilegs.php, db_printview.php, tbl_properties_structure.php, tbl_properties.inc.php, tbl_relation.php, browse_foreigners.php, css/phpmyadmin.css.php, diff --git a/libraries/display_select_lang.lib.php b/libraries/display_select_lang.lib.php index 68f22c396..e2a025320 100644 --- a/libraries/display_select_lang.lib.php +++ b/libraries/display_select_lang.lib.php @@ -23,33 +23,41 @@ function PMA_language_cmp( &$a, &$b ) { */ function PMA_select_language($use_fieldset = FALSE) { global $cfg, $lang; -?> + ?> +
- + ' . "\n"; + echo ' ' . "\n"; } if (isset($GLOBALS['convcharset'])) { - echo ' ' . "\n"; + echo ' ' . "\n"; } if (isset($GLOBALS['db'])) { - echo ' ' . "\n"; + echo ' ' . "\n"; } if (isset($GLOBALS['table'])) { - echo ' ' . "\n"; + echo ' ' . "\n"; } if (isset($GLOBALS['server'])) { - echo ' ' . "\n"; + echo ' ' . "\n"; } if ($use_fieldset) { echo '
'; echo ''; } ?> + Language '; + echo 'Info'; } else { echo '(*)'; } ?> - ' - . htmlentities($tmplang[3], ENT_COMPAT, 'UTF-8') . ' - ' . $lang_name; + $lang_name = htmlentities($tmplang[3], ENT_COMPAT, 'UTF-8') . ' - ' + . $lang_name; } // Include charset if it makes sense @@ -85,31 +93,36 @@ function PMA_select_language($use_fieldset = FALSE) { $selected = ''; } - echo ' '; - echo '' . "\n"; + echo ' '; + echo '' . "\n"; } ?> - + + '; } ?> -