diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 81916a51b..063c6a7e9 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -439,6 +439,24 @@ function PMA_showMySQLDocu($chapter, $link, $big_icon = false, $anchor = '', $ju } } // end of the 'PMA_showMySQLDocu()' function + +/** + * Displays a link to the phpMyAdmin documentation + * + * @param string anchor in documentation + * + * @return string the html link + * + * @access public + */ +function PMA_showDocu($anchor) { + if ($GLOBALS['cfg']['ReplaceHelpImg']) { + return '' . $GLOBALS['strDocu'] . ''; + } else { + return '[' . $GLOBALS['strDocu'] . ']'; + } +} // end of the 'PMA_showDocu()' function + /** * returns HTML for a footnote marker and add the messsage to the footnotes *