From 44ebf6e8fd292005bffc54ad54f093f31c7c78c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 2 Apr 2003 09:31:01 +0000 Subject: [PATCH] Show multi submits result after headers and tabs from originating place. --- ChangeLog | 3 +++ db_details_structure.php3 | 8 ++++++++ mult_submits.inc.php3 | 1 - tbl_properties_structure.php3 | 11 +++++++++-- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a7fdd0898..5fd35b0f9 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,9 @@ $Source$ generated SQL dump, move to newly created table also after copying. * tbl_properties_operations.php3: Some fixes for html entities in db/table names. + * db_details_structure.php3, mult_submits.inc.php3, + tbl_properties_structure.php3: Show multi submits result after headers + and tabs from originating place. 2003-04-01 Marc Delisle * Documentation.html: clarify about wildcard database diff --git a/db_details_structure.php3 b/db_details_structure.php3 index a17e18e85..8088925bc 100644 --- a/db_details_structure.php3 +++ b/db_details_structure.php3 @@ -28,6 +28,14 @@ if (empty($is_info)) { $sub_part = '_structure'; include('./db_details_db_info.php3'); echo "\n"; + + /** + * Show result of multi submit operation + */ + if ((!empty($submit_mult) && isset($selected_tbl)) + || isset($mult_btn)) { + PMA_showMessage($strSuccess); + } } diff --git a/mult_submits.inc.php3 b/mult_submits.inc.php3 index 156897945..551dbbd27 100644 --- a/mult_submits.inc.php3 +++ b/mult_submits.inc.php3 @@ -219,7 +219,6 @@ else if ($mult_btn == $strYes) { exit(); } - PMA_showMessage($strSuccess); } ?> diff --git a/tbl_properties_structure.php3 b/tbl_properties_structure.php3 index 3b6ecec91..990a09a70 100755 --- a/tbl_properties_structure.php3 +++ b/tbl_properties_structure.php3 @@ -25,13 +25,20 @@ if ((!empty($submit_mult) && isset($selected_fld)) require('./tbl_properties_common.php3'); $url_query .= '&goto=tbl_properties_structure.php3&back=tbl_properties_structure.php3'; - /** * Prepares the table structure display */ -// 1. Get table information +// 1. Get table information/display tabs require('./tbl_properties_table_info.php3'); +/** + * Show result of multi submit operation + */ +if ((!empty($submit_mult) && isset($selected_fld)) + || isset($mult_btn)) { + PMA_showMessage($strSuccess); +} + // 2. Gets table keys and retains them $local_query = 'SHOW KEYS FROM ' . PMA_backquote($table); $result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0);