Don't forget browsing state while deleting multiple rows (bug #1232624).

This commit is contained in:
Michal Čihař
2005-07-10 19:31:24 +00:00
parent 22d486cd17
commit 4701ca38c9
3 changed files with 13 additions and 4 deletions

View File

@@ -14,6 +14,8 @@ $Source$
User can now have different theme per server (RFE #1231599). User can now have different theme per server (RFE #1231599).
* config.inc.php: Add OLD_PASSWORD (bug #1216178). * config.inc.php: Add OLD_PASSWORD (bug #1216178).
* main.php: Correct ALT attribute for image (bug #1232124). * 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> 2005-07-10 Marc Delisle <lem9@users.sourceforge.net>
* libraries/display_tbl.lib.php: bug #1235473 display_tbl.lib.php, * libraries/display_tbl.lib.php: bug #1235473 display_tbl.lib.php,

View File

@@ -579,8 +579,10 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $
echo PMA_generate_common_hidden_inputs($db, $table, 1); 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="disp_direction" value="' . $disp_direction . '" />' . "\n";
echo '<input type="hidden" name="repeat_cells" value="' . $repeat_cells . '" />' . "\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="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" echo '<!-- Results table -->' . "\n"

View File

@@ -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_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_pos" value="' . $original_pos . '" />' . "\n";
echo '<input type="hidden" name="original_url_query" value="' . htmlspecialchars($original_url_query) . '" />' . "\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" /> <input type="submit" name="mult_btn" value="<?php echo $strYes; ?>" id="buttonYes" />