beautify the code and the results of the patch #484112

This commit is contained in:
Loïc Chapeaux
2001-12-06 19:35:14 +00:00
parent d5b7987aaa
commit e817bfe6f2
3 changed files with 350 additions and 356 deletions

View File

@@ -3,24 +3,29 @@
/**
* Confirmation form
* Confirmation form if required or include of other scripts
*/
if (!empty($submit_mult)
&& (!empty($selected_db) || !empty($selected_tbl) || !empty($selected_fld))) {
if (get_magic_quotes_gpc()) {
$submit_mult = stripslashes($submit_mult);
$submit_mult = stripslashes($submit_mult);
}
if (!empty($selected_db)) {
$selected = $selected_db;
$what = 'drop_db';
$selected = $selected_db;
$what = 'drop_db';
} else if (!empty($selected_tbl)) {
$selected = $selected_tbl;
$what = (($submit_mult == $strDrop) ? 'drop_tbl' : 'empty_tbl');
if ($submit_mult == $strPrintView) {
include('./tbl_printview.php3');
exit();
} else {
$selected = $selected_tbl;
$what = (($submit_mult == $strDrop) ? 'drop_tbl' : 'empty_tbl');
}
} else {
$selected = $selected_fld;
$selected = $selected_fld;
if ($submit_mult == $strDrop) {
$what = 'drop_fld';
$what = 'drop_fld';
} else {
include('./tbl_alter.php3');
exit();