PMA_showHint

This commit is contained in:
Marc Delisle
2004-10-20 00:03:26 +00:00
parent 6159a6193c
commit 9b61bbf88c
3 changed files with 19 additions and 1 deletions

View File

@@ -8,6 +8,9 @@ $Source$
2004-10-19 Marc Delisle <lem9@users.sourceforge.net>
* 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ř <michal@cihar.com>
* export.php: Use just \n for SQL exports (bug #1042521).

View File

@@ -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 '<img src="' . $GLOBALS['pmaThemeImage'] . 'b_hint.png" width="32" height="32" border="0" alt="' . $hint_message . '" title="' . $hint_message . '" align="middle" />';
}
/**
* 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)

View File

@@ -875,6 +875,9 @@ if (!empty($disp_message)) {
</tr>
<tr>
<td>
<?php echo PMA_showHint($strUseTabKey); ?>
</td>
<td colspan="3" align="right" valign="middle">
<input type="submit" value="<?php echo $strGo; ?>" tabindex="<?php echo ($tabindex + $tabindex_for_value + 6); ?>" id="buttonYes" />
<input type="reset" value="<?php echo $strReset; ?>" tabindex="<?php echo ($tabindex + $tabindex_for_value + 7); ?>" />