From 9b61bbf88cfb60fd858aeffd185b0db15a56e4c0 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 20 Oct 2004 00:03:26 +0000 Subject: [PATCH] PMA_showHint --- ChangeLog | 3 +++ libraries/common.lib.php | 14 +++++++++++++- tbl_change.php | 3 +++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fae5f3346..02b209bf3 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,9 @@ $Source$ 2004-10-19 Marc Delisle * libraries/database_interface.lib.php: bug #1041667, correctly check the server version instead of the client API version + * tbl_change.php, libraries/common.lib.php, lang/*: new function + PMA_showHint($message), new $strUseTabKey, + new light bulb image (temporary) 2004-10-19 Michal Čihař * export.php: Use just \n for SQL exports (bug #1042521). diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 29c183fce..426cf7365 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -547,10 +547,22 @@ if ($is_minimum_common == FALSE) { } // end of the 'PMA_showDocu()' function + /** + * Displays a hint icon, on mouse over show the hint + * + * @param string the error message + * + * @access public + */ + function PMA_showHint($hint_message) + { + return '' . $hint_message . ''; + } + /** * Displays a MySQL error message in the right frame. * - * @param string the error mesage + * @param string the error message * @param string the sql query that failed * @param boolean whether to show a "modify" link or not * @param string the "back" link url (full path is not required) diff --git a/tbl_change.php b/tbl_change.php index ece297237..7a0c1bc10 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -875,6 +875,9 @@ if (!empty($disp_message)) { + + +