New "Go back to this page" while editing.

This commit is contained in:
Michal Čihař
2004-03-10 14:38:42 +00:00
parent 999b64584c
commit 1ead79a1bc
104 changed files with 139 additions and 10 deletions

View File

@@ -33,6 +33,21 @@ if (isset($after_insert) && $after_insert == 'new_insert') {
. '&repeat_cells=' . $repeat_cells
. '&dontlimitchars=' . $dontlimitchars
. (empty($sql_query) ? '' : '&sql_query=' . urlencode($sql_query));
} elseif (isset($after_insert) && $after_insert == 'same_insert') {
$goto = 'tbl_change.php?'
. PMA_generate_common_url($db, $table, '&')
. '&goto=' . urlencode($goto)
. '&pos=' . $pos
. '&session_max_rows=' . $session_max_rows
. '&disp_direction=' . $disp_direction
. '&repeat_cells=' . $repeat_cells
. '&dontlimitchars=' . $dontlimitchars
. (empty($sql_query) ? '' : '&sql_query=' . urlencode($sql_query));
if (isset($primary_key)) {
foreach($primary_key AS $pk) {
$goto .= '&primary_key[]=' . $pk;
}
}
} else if ($goto == 'sql.php') {
$goto = 'sql.php?'
. PMA_generate_common_url($db, $table, '&')