diff --git a/db_export.php b/db_export.php
index bb9b0d353..30c84cdb0 100644
--- a/db_export.php
+++ b/db_export.php
@@ -29,7 +29,7 @@ $export_page_title = $strViewDumpDB;
// exit if no tables in db found
if ($num_tables < 1) {
- echo '
' . $strNoTablesFound . '
';
+ PMA_Message::error('strNoTablesFound')->display();
require './libraries/footer.inc.php';
exit;
} // end if
diff --git a/db_qbe.php b/db_qbe.php
index d6bc57a91..e2edc71cf 100644
--- a/db_qbe.php
+++ b/db_qbe.php
@@ -38,7 +38,7 @@ if (isset($_REQUEST['submit_sql']) && ! empty($sql_query)) {
if (isset($_REQUEST['submit_sql'])
&& ! preg_match('@^SELECT@i', $sql_query)) {
- echo '' . $GLOBALS['strHaveToShow'] . '
';
+ PMA_Message::warning('strHaveToShow')->display();
}
diff --git a/libraries/auth/http.auth.lib.php b/libraries/auth/http.auth.lib.php
index 35635b030..4b98aa7a1 100644
--- a/libraries/auth/http.auth.lib.php
+++ b/libraries/auth/http.auth.lib.php
@@ -19,8 +19,8 @@
*
* @access public
*/
-function PMA_auth() {
-
+function PMA_auth()
+{
/* Perform logout to custom URL */
if (!empty($_REQUEST['old_usr']) && !empty($GLOBALS['cfg']['Server']['LogoutURL'])) {
PMA_sendHeaderLocation($GLOBALS['cfg']['Server']['LogoutURL']);
@@ -46,22 +46,25 @@ function PMA_auth() {
?>
-
+
-
-
+ display();
+
+ if (file_exists('./config.footer.inc.php')) {
+ require './config.footer.inc.php';
+ }
+ ?>