Don't forget browsing state while deleting multiple rows (bug #1232624).
This commit is contained in:
@@ -14,6 +14,8 @@ $Source$
|
||||
User can now have different theme per server (RFE #1231599).
|
||||
* config.inc.php: Add OLD_PASSWORD (bug #1216178).
|
||||
* main.php: Correct ALT attribute for image (bug #1232124).
|
||||
* mult_submits.inc.php, libraries/display_tbl.lib.php: Don't forget
|
||||
browsing state while deleting multiple rows (bug #1232624).
|
||||
|
||||
2005-07-10 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/display_tbl.lib.php: bug #1235473 display_tbl.lib.php,
|
||||
|
@@ -577,10 +577,12 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $
|
||||
if ($is_display['del_lnk'] == 'dr' || $is_display['del_lnk'] == 'kp' ) {
|
||||
echo '<form method="post" action="tbl_row_action.php" name="rowsDeleteForm">' . "\n";
|
||||
echo PMA_generate_common_hidden_inputs($db, $table, 1);
|
||||
echo '<input type="hidden" name="disp_direction" value="' . $disp_direction . '" />' . "\n";
|
||||
echo '<input type="hidden" name="repeat_cells" value="' . $repeat_cells . '" />' . "\n";
|
||||
echo '<input type="hidden" name="goto" value="sql.php" />' . "\n";
|
||||
echo '<input type="hidden" name="dontlimitchars" value="' . $dontlimitchars . '" />' . "\n";
|
||||
echo '<input type="hidden" name="disp_direction" value="' . $disp_direction . '" />' . "\n";
|
||||
echo '<input type="hidden" name="repeat_cells" value="' . $repeat_cells . '" />' . "\n";
|
||||
echo '<input type="hidden" name="dontlimitchars" value="' . $dontlimitchars . '" />' . "\n";
|
||||
echo '<input type="hidden" name="pos" value="' . $pos . '" />' . "\n";
|
||||
echo '<input type="hidden" name="session_max_rows" value="' . $session_max_rows . '" />' . "\n";
|
||||
echo '<input type="hidden" name="goto" value="sql.php" />' . "\n";
|
||||
}
|
||||
|
||||
echo '<!-- Results table -->' . "\n"
|
||||
|
@@ -258,6 +258,11 @@ if (!empty($submit_mult) && !empty($what)) {
|
||||
echo '<input type="hidden" name="original_sql_query" value="' . htmlspecialchars($original_sql_query) . '" />' . "\n";
|
||||
echo '<input type="hidden" name="original_pos" value="' . $original_pos . '" />' . "\n";
|
||||
echo '<input type="hidden" name="original_url_query" value="' . htmlspecialchars($original_url_query) . '" />' . "\n";
|
||||
echo '<input type="hidden" name="disp_direction" value="' . $disp_direction . '" />' . "\n";
|
||||
echo '<input type="hidden" name="repeat_cells" value="' . $repeat_cells . '" />' . "\n";
|
||||
echo '<input type="hidden" name="dontlimitchars" value="' . $dontlimitchars . '" />' . "\n";
|
||||
echo '<input type="hidden" name="pos" value="' . $pos . '" />' . "\n";
|
||||
echo '<input type="hidden" name="session_max_rows" value="' . $session_max_rows . '" />' . "\n";
|
||||
}
|
||||
?>
|
||||
<input type="submit" name="mult_btn" value="<?php echo $strYes; ?>" id="buttonYes" />
|
||||
|
Reference in New Issue
Block a user