diff --git a/lib.inc.php3 b/lib.inc.php3 index f4eea5b34..f4a2c6021 100755 --- a/lib.inc.php3 +++ b/lib.inc.php3 @@ -781,42 +781,70 @@ function show_docu($link) { return("[$strDocu]"); } -function show_message($message) { - if(!empty($GLOBALS['reload']) && ($GLOBALS['reload'] == "true")) - { - // Reload the navigation frame via JavaScript + +/** + * Displays a message at the top of the "main" (right) frame + * + * @param string the message to display + */ +function show_message($message) +{ + // Reloads the navigation frame via JavaScript if required + if (!empty($GLOBALS['reload']) && ($GLOBALS['reload'] == 'true')) { + echo "\n"; ?> - + -
- - |
- ||
- ", nl2br(htmlspecialchars($GLOBALS['sql_query']));
- if (isset($GLOBALS["sql_order"])) echo " $GLOBALS[sql_order]";
- if (isset($GLOBALS["pos"])) echo " LIMIT $GLOBALS[pos], $GLOBALS[cfgMaxRows]";?>
+
+
+
|