Show multi submits result after headers and tabs from originating place.

This commit is contained in:
Michal Čihař
2003-04-02 09:31:01 +00:00
parent 55f76015ba
commit 44ebf6e8fd
4 changed files with 20 additions and 3 deletions

View File

@@ -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 <lem9@users.sourceforge.net>
* Documentation.html: clarify about wildcard database

View File

@@ -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);
}
}

View File

@@ -219,7 +219,6 @@ else if ($mult_btn == $strYes) {
exit();
}
PMA_showMessage($strSuccess);
}
?>

View File

@@ -25,13 +25,20 @@ if ((!empty($submit_mult) && isset($selected_fld))
require('./tbl_properties_common.php3');
$url_query .= '&amp;goto=tbl_properties_structure.php3&amp;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);