Cleanup of message displaying and navigation reloading.

This commit is contained in:
Michal Čihař
2004-10-21 10:18:12 +00:00
parent 1293dc1a24
commit 3f258cfb45
22 changed files with 161 additions and 128 deletions

View File

@@ -57,13 +57,6 @@ if (isset($submitoptions)) {
$message = $strSuccess;
}
// Displays a message if a query had been submitted
if (isset($message)) {
PMA_showMessage($message);
}
/**
* Reordering the table has been requested by the user
*/
@@ -74,15 +67,18 @@ if (isset($submitorderby) && !empty($order_field)) {
$sql_query .= ' DESC';
}
$result = PMA_DBI_query($sql_query);
PMA_showMessage($result ? $strSuccess : $strFailed);
$message = $result ? $strSuccess : $strFailed;
} // end if
/**
* Gets tables informations and displays top links
* Gets tables informations
*/
require('./tbl_properties_table_info.php');
/**
* Displays top menu links
*/
require('./tbl_properties_links.php');
/**
* Get columns names