Query string passage

This commit is contained in:
Miles Lott 2001-03-28 12:51:59 +00:00
parent 0319a6e05b
commit 3659fba29a

View File

@ -36,9 +36,11 @@
if ($confirm != "true") { if ($confirm != "true") {
$t->set_var(lang_sure,lang("Are you sure you want to delete this entry ?")); $t->set_var(lang_sure,lang("Are you sure you want to delete this entry ?"));
$t->set_var(no_link,$phpgw->link("/addressbook/view.php","ab_id=$ab_id&order=$order&sort=$sort&filter=$filter&start=$start&query=$query")); $t->set_var(no_link,$phpgw->link("/addressbook/index.php",
"ab_id=$ab_id&order=$order&sort=$sort&filter=$filter&start=$start&query=$query&cat_id=$cat_id"));
$t->set_var(lang_no,lang("NO")); $t->set_var(lang_no,lang("NO"));
$t->set_var(yes_link,$phpgw->link("/addressbook/delete.php","ab_id=$ab_id&confirm=true&order=$order&sort=$sort&filter=$filter&start=$start&query=$query")); $t->set_var(yes_link,$phpgw->link("/addressbook/delete.php",
"ab_id=$ab_id&confirm=true&order=$order&sort=$sort&filter=$filter&start=$start&query=$query&cat_id=$cat_id"));
$t->set_var(lang_yes,lang("YES")); $t->set_var(lang_yes,lang("YES"));
$t->pparse("out","delete"); $t->pparse("out","delete");
@ -46,6 +48,7 @@
} else { } else {
$this->account_id=$phpgw_info["user"]["account_id"]; $this->account_id=$phpgw_info["user"]["account_id"];
$this->delete($ab_id); $this->delete($ab_id);
@Header("Location: " . $phpgw->link("/addressbook/index.php","cd=16&order=$order&sort=$sort&filter=$filter&start=$start&query=$query")); @Header("Location: " . $phpgw->link("/addressbook/index.php",
"cd=16&order=$order&sort=$sort&filter=$filter&start=$start&query=$query&cat_id=$cat_id"));
} }
?> ?>