diff --git a/db_printview.php b/db_printview.php index acd0d9f26d..e15b79dc84 100644 --- a/db_printview.php +++ b/db_printview.php @@ -246,5 +246,7 @@ if ($num_tables == 0) { */ PMA_printButton(); +echo "
\n"; + require './libraries/footer.inc.php'; ?> diff --git a/js/functions.js b/js/functions.js index 4cdc10bc98..f9e5717e36 100644 --- a/js/functions.js +++ b/js/functions.js @@ -3694,9 +3694,15 @@ $(document).ready(function() { * Makes the breadcrumbs and the menu bar float at the top of the viewport */ $(document).ready(function () { - if ($("#floating_menubar").length) { + if ($("#floating_menubar").length && $('#PMA_print_view').length == 0) { $("#floating_menubar") - .css('z-index', 500) + .css({ + 'position': 'fixed', + 'top': 0, + 'left': 0, + 'width': '100%', + 'z-index': 500 + }) .append($('#serverinfo')) .append($('#topmenucontainer')); $('body').css( diff --git a/tbl_printview.php b/tbl_printview.php index 17c9b25ecf..a6844e9939 100644 --- a/tbl_printview.php +++ b/tbl_printview.php @@ -441,5 +441,7 @@ foreach ($the_tables as $key => $table) { */ PMA_printButton(); +echo "\n"; + require './libraries/footer.inc.php'; ?> diff --git a/themes/original/css/theme_print.css.php b/themes/original/css/theme_print.css.php index 0804342f0b..4cf8e338d0 100644 --- a/themes/original/css/theme_print.css.php +++ b/themes/original/css/theme_print.css.php @@ -36,3 +36,7 @@ th { font-weight: bold; background-color: #e5e5e5; } + +.hide { + display: none; +} diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php index 7c12c14349..1284ae12c1 100644 --- a/themes/original/css/theme_right.css.php +++ b/themes/original/css/theme_right.css.php @@ -878,13 +878,6 @@ div#tablestatistics table { width: 100%; } -#floating_menubar { - position: fixed; - top: 0; - left: 0; - width: 100%'; -} - #serverinfo { background: white; font-weight: bold; diff --git a/themes/pmahomme/css/theme_print.css.php b/themes/pmahomme/css/theme_print.css.php index ad5484ae16..428ec8d9f6 100644 --- a/themes/pmahomme/css/theme_print.css.php +++ b/themes/pmahomme/css/theme_print.css.php @@ -36,3 +36,7 @@ th { font-weight: bold; background-color: #e5e5e5; } + +.hide { + display: none; +} diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php index f5174c6e69..5d4c3f3d04 100644 --- a/themes/pmahomme/css/theme_right.css.php +++ b/themes/pmahomme/css/theme_right.css.php @@ -1089,13 +1089,6 @@ div#tablestatistics table { background-color: #dcdcdc; } -#floating_menubar { - position: fixed; - top: 0; - left: 0; - width: 100%'; -} - #serverinfo { border-bottom:1px solid #fff; background:#888;