From 452c8645f3e1a5635f247aa09bf8b226d77e6d54 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 24 Jul 2007 11:39:54 +0000 Subject: [PATCH] move "Query results operations" lower --- libraries/display_tbl.lib.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php index 352788eca..11cfa5bc3 100644 --- a/libraries/display_tbl.lib.php +++ b/libraries/display_tbl.lib.php @@ -1879,9 +1879,7 @@ function PMA_displayTable(&$dt_result, &$the_disp_mode, $analyzed_sql) $table = ''; } } - if (!isset($GLOBALS['printview']) || $GLOBALS['printview'] != '1') { - PMA_displayResultsOperations($the_disp_mode, $analyzed_sql); - } + if ($is_display['nav_bar'] == '1') { PMA_displayTableNavigation($pos_next, $pos_prev, $sql_query); echo "\n"; @@ -2008,6 +2006,11 @@ function PMA_displayTable(&$dt_result, &$the_disp_mode, $analyzed_sql) } elseif (!isset($GLOBALS['printview']) || $GLOBALS['printview'] != '1') { echo "\n" . '

' . "\n"; } + + // 6. ----- Displays "Query results operations" + if (!isset($GLOBALS['printview']) || $GLOBALS['printview'] != '1') { + PMA_displayResultsOperations($the_disp_mode, $analyzed_sql); + } } // end of the 'PMA_displayTable()' function function default_function($buffer) {