diff --git a/ChangeLog b/ChangeLog index d82c8296b..ba8c0d638 100755 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,8 @@ $Source$ - messages are now displayed if a query had been submitted to change some options or to sort the table; - pursuit the "stay on the sub-pages as long as needed" work. + * db_details.php3; db_details_export.php3; db_details_strucuture.php3: + pursuit the "stay on the sub-pages as long as needed" work. 2002-05-02 Loïc Chapeaux * lang/*.inc.php3: cleanup. diff --git a/db_details.php3 b/db_details.php3 index 18bcb194e..4e95e53c1 100755 --- a/db_details.php3 +++ b/db_details.php3 @@ -2,16 +2,16 @@ /* $Id$ */ +/** + * Runs common work + */ require('./db_details_common.php3'); +$url_query .= '&goto=db_details.php3'; /** * Database work */ -$url_query = 'lang=' . $lang - . '&server=' . $server - . '&db=' . urlencode($db) - . '&goto=db_details.php3'; if (isset($show_query) && $show_query == 'y') { // This script has been called by read_dump.php3 if (isset($sql_query_cpy)) { diff --git a/db_details_export.php3 b/db_details_export.php3 index 45ff2566b..796d3bc57 100644 --- a/db_details_export.php3 +++ b/db_details_export.php3 @@ -5,8 +5,9 @@ /** * Gets some core libraries */ -$sub_part = '_export'; +$sub_part = '_export'; require('./db_details_common.php3'); +$url_query .= '&goto=db_details_export.php3'; require('./db_details_db_info.php3'); diff --git a/db_details_structure.php3 b/db_details_structure.php3 index ab2d11acd..2a4f4c375 100644 --- a/db_details_structure.php3 +++ b/db_details_structure.php3 @@ -3,10 +3,12 @@ /** - * Prepares the tables list + * Prepares the tables list if the user where not redirected to this script + * because there is no table in the database ($is_info is TRUE) */ if (empty($is_info)) { include('./db_details_common.php3'); + $url_query .= '&goto=db_details_structure.php3'; //Drop/delete multiple tables if required if ((!empty($submit_mult) && isset($selected_tbl)) @@ -59,19 +61,15 @@ else if (PMA_MYSQL_INT_VERSION >= 32303) { @@ -84,7 +82,7 @@ else if (PMA_MYSQL_INT_VERSION >= 32303) { ' . $strBrowse . ''; } else { @@ -95,7 +93,7 @@ else if (PMA_MYSQL_INT_VERSION >= 32303) { ' + echo '' . $strSelect . ''; } else { echo $strSelect; @@ -103,22 +101,22 @@ else if (PMA_MYSQL_INT_VERSION >= 32303) { ?> - + - + - = 40000) { echo urlencode('TRUNCATE ' . PMA_backquote($table)) @@ -199,7 +197,7 @@ else if (PMA_MYSQL_INT_VERSION >= 32303) { ?>    - + @@ -340,22 +334,22 @@ else {    - + - + - + - + - + - +