| | |
| | | $list_name = $_SESSION["s"]["form"]["return_to"];
|
| | | $redirect = "Location: ".$_SESSION["s"]["list"][$list_name]["parent_script"]."?id=".$_SESSION["s"]["list"][$list_name]["parent_id"]."&next_tab=".$_SESSION["s"]["list"][$list_name]["parent_tab"];
|
| | | $_SESSION["s"]["form"]["return_to"] = '';
|
| | | session_write_close();
|
| | | header($redirect);
|
| | | } else {
|
| | | header("Location: ".$app->tform->formDef['list_default']);
|
| | |
| | | $list_name = $_SESSION["s"]["form"]["return_to"];
|
| | | $redirect = "Location: ".$_SESSION["s"]["list"][$list_name]["parent_script"]."?id=".$_SESSION["s"]["list"][$list_name]["parent_id"]."&next_tab=".$_SESSION["s"]["list"][$list_name]["parent_tab"];
|
| | | $_SESSION["s"]["form"]["return_to"] = '';
|
| | | session_write_close();
|
| | | header($redirect);
|
| | | } else {
|
| | | header("Location: ".$app->tform->formDef['list_default']);
|
| | |
| | | $list_name = $_SESSION["s"]["form"]["return_to"];
|
| | | $redirect = "Location: ".$_SESSION["s"]["list"][$list_name]["parent_script"]."?id=".$_SESSION["s"]["list"][$list_name]["parent_id"]."&next_tab=".$_SESSION["s"]["list"][$list_name]["parent_tab"];
|
| | | $_SESSION["s"]["form"]["return_to"] = '';
|
| | | session_write_close();
|
| | | header($redirect);
|
| | | } else {
|
| | | header("Location: ".$liste["file"]);
|