From 21fbc1d33de4f09eee07b9ac69216c90f450f19a Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 16 Jun 2004 01:54:29 +0000 Subject: [PATCH] missing title tags --- ChangeLog | 2 ++ libraries/common.lib.php | 45 ++++++---------------------------------- 2 files changed, 8 insertions(+), 39 deletions(-) diff --git a/ChangeLog b/ChangeLog index bf3c6d1c1..aae3ef09e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,8 @@ $Source$ libraries/transformations.lib.php: new function PMA_securePATH() * main.php, tbl_properties_structure.php: theme "none" should be "original", thanks to Michael Keck (mkkeck) + * left.php, tbl_properties.inc.php, librairies/common.lib.php: + missing title tags 2004-06-15 Michal Čihař * lang/czech: Updated. diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 07ab4756b..3eee7fb29 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -461,39 +461,6 @@ if ($is_minimum_common == FALSE) { * * @access public */ -/* - function PMA_showMySQLDocu($chapter, $link) - { - if (!empty($GLOBALS['cfg']['MySQLManualBase'])) { - if (!empty($GLOBALS['cfg']['MySQLManualType'])) { - switch ($GLOBALS['cfg']['MySQLManualType']) { - case 'old': - return '[' . $GLOBALS['strDocu'] . ']'; - case 'chapters': - return '[' . $GLOBALS['strDocu'] . ']'; - case 'big': - return '[' . $GLOBALS['strDocu'] . ']'; - case 'none': - return ''; - case 'searchable': - default: - return '[' . $GLOBALS['strDocu'] . ']'; - } - } else { - // no Type defined, show the old one - return '[' . $GLOBALS['strDocu'] . ']'; - } - } else { - // no URL defined - if (!empty($GLOBALS['cfg']['ManualBaseShort'])) { - // the old configuration - return '[' . $GLOBALS['strDocu'] . ']'; - } else { - return ''; - } - } - } -*/ // 2004-05-04: replaced with a modified function from Michael Keck (mkkeck) function PMA_showMySQLDocu($chapter, $link) { @@ -503,18 +470,18 @@ if ($is_minimum_common == FALSE) { switch ($GLOBALS['cfg']['MySQLManualType']) { case 'old': if ($GLOBALS['cfg']['ReplaceHelpImg']) { - return '' . $GLOBALS['strDocu'] . ''; + return '' . $GLOBALS['strDocu'] . ''; }else{ return '[' . $GLOBALS['strDocu'] . ']'; } case 'chapters': if ($GLOBALS['cfg']['ReplaceHelpImg']) { - return '' . $GLOBALS['strDocu'] . ''; + return '' . $GLOBALS['strDocu'] . ''; } else { return '[' . $GLOBALS['strDocu'] . ']'; } case 'big': if ($GLOBALS['cfg']['ReplaceHelpImg']) { - return '' . $GLOBALS['strDocu'] . ''; + return '' . $GLOBALS['strDocu'] . ''; } else { return '[' . $GLOBALS['strDocu'] . ']'; } @@ -523,7 +490,7 @@ if ($is_minimum_common == FALSE) { case 'searchable': default: if ($GLOBALS['cfg']['ReplaceHelpImg']) { - return '' . $GLOBALS['strDocu'] . ''; + return '' . $GLOBALS['strDocu'] . ''; } else { return '[' . $GLOBALS['strDocu'] . ']'; } @@ -531,7 +498,7 @@ if ($is_minimum_common == FALSE) { } else { // no Type defined, show the old one if ($GLOBALS['cfg']['ReplaceHelpImg']) { - return '' . $GLOBALS['strDocu'] . ''; + return '' . $GLOBALS['strDocu'] . ''; } else { return '[' . $GLOBALS['strDocu'] . ']'; } @@ -541,7 +508,7 @@ if ($is_minimum_common == FALSE) { if (!empty($GLOBALS['cfg']['ManualBaseShort'])) { // the old configuration if ($GLOBALS['cfg']['ReplaceHelpImg']) { - return '' . $GLOBALS['strDocu'] . ''; + return '' . $GLOBALS['strDocu'] . ''; } else { return '[' . $GLOBALS['strDocu'] . ']'; }