From 0e63bd04874accd13eaa83bade8f28c937b01f40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 18 Mar 2011 14:55:27 +0100 Subject: [PATCH] Fix multi submits for MSIE with is used */ if (isset($_REQUEST['submit_mult_change_x'])) { - $submit_mult = __('Change'); + $submit_mult = 'change'; } elseif (isset($_REQUEST['submit_mult_drop_x'])) { - $submit_mult = __('Drop'); + $submit_mult = 'drop'; } elseif (isset($_REQUEST['submit_mult_primary_x'])) { - $submit_mult = __('Primary'); + $submit_mult = 'primary'; } elseif (isset($_REQUEST['submit_mult_index_x'])) { - $submit_mult = __('Index'); + $submit_mult = 'index'; } elseif (isset($_REQUEST['submit_mult_unique_x'])) { - $submit_mult = __('Unique'); + $submit_mult = 'unique'; } elseif (isset($_REQUEST['submit_mult_fulltext_x'])) { - $submit_mult = __('Fulltext'); + $submit_mult = 'ftext'; } elseif (isset($_REQUEST['submit_mult_browse_x'])) { - $submit_mult = __('Browse'); + $submit_mult = 'browse'; } elseif (isset($_REQUEST['submit_mult'])) { $submit_mult = $_REQUEST['submit_mult']; } elseif (isset($_REQUEST['mult_btn']) && $_REQUEST['mult_btn'] == __('Yes')) { @@ -45,7 +45,7 @@ if (isset($_REQUEST['submit_mult_change_x'])) { if (! empty($submit_mult) && isset($_REQUEST['selected_fld'])) { $err_url = 'tbl_structure.php?' . PMA_generate_common_url($db, $table); - if ($submit_mult == __('Browse')) { + if ($submit_mult == 'browse') { // browsing the table displaying only selected fields/columns $GLOBALS['active_page'] = 'sql.php'; $sql_query = '';