diff --git a/ChangeLog b/ChangeLog
index 559f25c5e..2350087de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@ phpMyAdmin - ChangeLog
$Id$
$HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyAdmin/ChangeLog $
+2.11.9.0 (not yet released)
+- bug #2031221 [auth] Links to version number on login screen
+
2.11.8.0 (2008-07-28)
- patch #1987593 [interface] Table list pagination in navi,
thanks to Jason Day - jday29
diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php
index 5329213ac..45e8e8d9e 100644
--- a/libraries/auth/cookie.auth.lib.php
+++ b/libraries/auth/cookie.auth.lib.php
@@ -154,7 +154,8 @@ if (top != self) {
// Displays the languages form
if (empty($GLOBALS['cfg']['Lang'])) {
require_once './libraries/display_select_lang.lib.php';
- PMA_select_language(true);
+ // use fieldset, don't show doc link
+ PMA_select_language(true, false);
}
// Displays the warning message and the login form
@@ -179,14 +180,8 @@ if (top != self) {
diff --git a/libraries/display_select_lang.lib.php b/libraries/display_select_lang.lib.php
index efce45bc5..70c319ab0 100644
--- a/libraries/display_select_lang.lib.php
+++ b/libraries/display_select_lang.lib.php
@@ -26,7 +26,7 @@ function PMA_language_cmp(&$a, &$b) {
*
* @access public
*/
-function PMA_select_language($use_fieldset = FALSE) {
+function PMA_select_language($use_fieldset = FALSE, $show_doc = TRUE) {
global $cfg, $lang;
?>
@@ -56,10 +56,13 @@ function PMA_select_language($use_fieldset = FALSE) {
// For non-English, display "Language" with emphasis because it's
// not a proper word in the current language; we show it to help
// people recognize the dialog
- $language_title = $GLOBALS['strLanguage'] . ($GLOBALS['strLanguage'] != 'Language' ? ' - Language' : '') . ' ' .
+ $language_title = $GLOBALS['strLanguage'] . ($GLOBALS['strLanguage'] != 'Language' ? ' - Language' : '');
+ if ($show_doc) {
+ $language_title .= ' ' .
($cfg['ReplaceHelpImg'] ?
'' :
'(*)') . '';
+ }
if ($use_fieldset) {
echo '