diff --git a/db_structure.php b/db_structure.php index dcce45bb7..03a31be1b 100644 --- a/db_structure.php +++ b/db_structure.php @@ -499,23 +499,23 @@ $checkall_url = 'db_structure.php?' . PMA_generate_common_url($db); ' . __('With selected:') . '' . "\n"; -echo ' ' . "\n"; echo ' ' . "\n"; if (!$db_is_information_schema) { - echo ' ' . "\n"; - echo ' ' . "\n"; - echo ' ' . "\n"; - echo ' ' . "\n"; - echo ' ' . "\n"; - echo ' ' . "\n"; } ?> diff --git a/libraries/mult_submits.inc.php b/libraries/mult_submits.inc.php index e473192c6..746fbb2b5 100644 --- a/libraries/mult_submits.inc.php +++ b/libraries/mult_submits.inc.php @@ -30,35 +30,19 @@ if (! empty($submit_mult) $selected = $selected_tbl; switch ($submit_mult) { case 'drop_db': - $what = 'drop_db'; + case 'drop_tbl': + case 'empty_tbl': + $what = $submit_mult; break; - case __('Drop'): - $what = 'drop_tbl'; - break; - case __('Empty'): - $what = 'empty_tbl'; - break; - case __('Check table'): + case 'check_tbl': + case 'optimize_tbl': + case 'repair_tbl': + case 'analyze_tbl': + $query_type = $submit_mult; unset($submit_mult); - $query_type = 'check_tbl'; $mult_btn = __('Yes'); break; - case __('Optimize table'): - unset($submit_mult); - $query_type = 'optimize_tbl'; - $mult_btn = __('Yes'); - break; - case __('Repair table'): - unset($submit_mult); - $query_type = 'repair_tbl'; - $mult_btn = __('Yes'); - break; - case __('Analyze table'): - unset($submit_mult); - $query_type = 'analyze_tbl'; - $mult_btn = __('Yes'); - break; - case __('Export'): + case 'export': unset($submit_mult); require('db_export.php'); exit;