Link to MySQL 5.5 documentation on servers running MySQL 5.5

This commit is contained in:
Michal Čihař
2011-02-17 10:59:00 +01:00
parent 4c18383524
commit cf4d86532e

View File

@@ -401,7 +401,11 @@ function PMA_showMySQLDocu($chapter, $link, $big_icon = false, $anchor = '', $ju
$mysql = '5.0'; $mysql = '5.0';
$lang = 'en'; $lang = 'en';
if (defined('PMA_MYSQL_INT_VERSION')) { if (defined('PMA_MYSQL_INT_VERSION')) {
if (PMA_MYSQL_INT_VERSION >= 50100) { if (PMA_MYSQL_INT_VERSION >= 50500) {
$mysql = '5.5';
/* l10n: Language to use for MySQL 5.5 documentation, please use only languages which do exist in official documentation. */
$lang = _pgettext('MySQL 5.5 documentation language', 'en');
} else if (PMA_MYSQL_INT_VERSION >= 50100) {
$mysql = '5.1'; $mysql = '5.1';
/* l10n: Language to use for MySQL 5.1 documentation, please use only languages which do exist in official documentation. */ /* l10n: Language to use for MySQL 5.1 documentation, please use only languages which do exist in official documentation. */
$lang = _pgettext('MySQL 5.1 documentation language', 'en'); $lang = _pgettext('MySQL 5.1 documentation language', 'en');