bug #942356, missing localisation of multi row edit feature
This commit is contained in:
@@ -10,6 +10,8 @@ $Source$
|
||||
calendar.
|
||||
|
||||
2004-04-27 Garvin Hicking <pma@supergarv.de>
|
||||
* libraries/display_tbl.lib.php, tbl_row_delete: Bug #942356,
|
||||
missing localization for multi-row edit/delete/export feature.
|
||||
* footer.inc.php: Fixed bug #942316 - Consistent window layout for
|
||||
query window.
|
||||
* left.php: Fixed bug #942374 - Undefined indizes in left frame
|
||||
|
@@ -1816,9 +1816,9 @@ function PMA_displayTable(&$dt_result, &$the_disp_mode, $analyzed_sql)
|
||||
}
|
||||
echo "\n";
|
||||
} else {
|
||||
echo ' <input type="submit" name="submit_mult" value="row_edit" title="' . $GLOBALS['strEdit'] . '" />' . "\n";
|
||||
echo ' <input type="submit" name="submit_mult" value="row_delete" title="' . $delete_text . '" />' . "\n";
|
||||
echo ' <input type="submit" name="submit_mult" value="row_export" title="' . $GLOBALS['strExport'] . '" />' . "\n";
|
||||
echo ' <input type="submit" name="submit_mult" value="' . htmlspecialchars($GLOBALS['strEdit']) . '" title="' . $GLOBALS['strEdit'] . '" />' . "\n";
|
||||
echo ' <input type="submit" name="submit_mult" value="' . htmlspecialchars($delete_text) . '" title="' . $delete_text . '" />' . "\n";
|
||||
echo ' <input type="submit" name="submit_mult" value="' . htmlspecialchars($GLOBALS['strExport']) . '" title="' . $GLOBALS['strExport'] . '" />' . "\n";
|
||||
}
|
||||
echo '<input type="hidden" name="sql_query" value="' . $encoded_sql_query . '" />' . "\n";
|
||||
echo '<input type="hidden" name="pos" value="' . $pos . '" />' . "\n";
|
||||
|
@@ -24,6 +24,22 @@ if (isset($mult_btn)) {
|
||||
$submit_mult = 'row_delete';
|
||||
}
|
||||
|
||||
switch($submit_mult) {
|
||||
case $GLOBALS['strExport']:
|
||||
$submit_mult = 'row_export';
|
||||
break;
|
||||
|
||||
case $GLOBALS['strDelete']:
|
||||
case $GLOBALS['strKill']:
|
||||
$submit_mult = 'row_delete';
|
||||
break;
|
||||
|
||||
default:
|
||||
case $GLOBALS['strEdit']:
|
||||
$submit_mult = 'row_edit';
|
||||
break;
|
||||
}
|
||||
|
||||
if ($submit_mult == 'row_edit') {
|
||||
$js_to_run = 'tbl_change.js';
|
||||
}
|
||||
|
Reference in New Issue
Block a user