From b2e5dfc23c93a1112d616f55bc773d9a4d38fe05 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Fri, 2 May 2003 19:56:45 +0000 Subject: [PATCH] Should be the fix for Bug #730718. Moved the hashform from the "nav"-frame to the "queryframe"-frame, altered the way the form is submitted in LeftFrameLight mode to keep the queryframe. Only if JavaScript is usable, otherwise it's not necessary to keep the 'opener' pointer. --- ChangeLog | 7 +++++++ db_details_common.php3 | 2 +- index.php3 | 2 +- left.php3 | 30 ++++++++++++++++++++++++++---- libraries/common.lib.php3 | 2 +- main.php3 | 2 +- queryframe.php3 | 3 +++ tbl_query_box.php3 | 4 ++-- 8 files changed, 42 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4525df1a0e46..cebc29f22a7c 100755 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,13 @@ $Source$ Patch Tracker #709383 for further information. * libraries/display_tbl.lib.php3: Bug #728813 (title for relations when foreign_db != master_db) + * index.php3, left.php3, tbl_query_box.php3, db_details_common.php3, + main.php3, queryframe.php3, libraries/common.lib.php3: Should be + the fix for Bug #730718. + Moved the hashform from the "nav"-frame to the "queryframe"-frame, + altered the way the form is submitted in LeftFrameLight mode to + keep the queryframe. Only if JavaScript is usable, otherwise it's + not necessary to keep the 'opener' pointer. 2003-04-30 Marc Delisle * pdf_schema.php3, bug 729517, better comment output, diff --git a/db_details_common.php3 b/db_details_common.php3 index 0cfe0dc4d2e2..9e62e8f1f103 100644 --- a/db_details_common.php3 +++ b/db_details_common.php3 @@ -47,7 +47,7 @@ if (!isset($message)) { ?> - + diff --git a/left.php3 b/left.php3 index 86402105f1bb..7498e020f325 100755 --- a/left.php3 +++ b/left.php3 @@ -8,6 +8,10 @@ * been defined as startup option and include a core library */ require('./libraries/grab_globals.lib.php3'); +if (isset($lightm_db) && !empty($lightm_db)) { + $db = urldecode($lightm_db); +} + if (!empty($db)) { $db_start = $db; } @@ -61,6 +65,19 @@ PMA_setFontSizes(); phpMyAdmin target="phpmain" /> + + + 1) { // Light mode -> beginning of the select combo for databases if ($cfg['LeftFrameLight']) { - echo '
' . "\n"; + ?> + + + ' . "\n"; echo ' -
diff --git a/libraries/common.lib.php3 b/libraries/common.lib.php3 index 675196b719a6..e70be9b9935d 100644 --- a/libraries/common.lib.php3 +++ b/libraries/common.lib.php3 @@ -1267,7 +1267,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} diff --git a/main.php3 b/main.php3 index 08aa211e766b..63890bc73c16 100755 --- a/main.php3 +++ b/main.php3 @@ -43,7 +43,7 @@ else if (isset($reload) && $reload) { ?> " +
+ +
diff --git a/tbl_query_box.php3 b/tbl_query_box.php3 index e1fb3ab2a87d..c29f62c519a9 100755 --- a/tbl_query_box.php3 +++ b/tbl_query_box.php3 @@ -81,7 +81,7 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) { ?>