Remove Yes/No buttons from confirmation legend

It feels strange to show the buttons twice and I think footer
is better location.

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2017-08-01 16:25:20 +02:00
parent b05cc76826
commit c90bbfcb37

View File

@ -447,10 +447,6 @@ function PMA_getHtmlForOtherActions($what, $action, $_url_params, $full_query)
$html .= __('You are about to DESTROY a complete database!') . ' ';
}
$html .= __('Do you really want to execute the following query?');
$html .= '<input type="submit" name="mult_btn" value="'
. __('Yes') . '" />';
$html .= '<input type="submit" name="mult_btn" value="'
. __('No') . '" />';
$html .= '</legend>';
$html .= '<code>' . $full_query . '</code>';
$html .= '</fieldset>';