* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* id (PlWizard::FIRST_PAGE, PlWizard::NEXT_PAGE, PlWizard::CURRENT_PAGE
* PlWizard::PREVIOUS_PAGE, PlWizard::LAST_PAGE).
*/
* id (PlWizard::FIRST_PAGE, PlWizard::NEXT_PAGE, PlWizard::CURRENT_PAGE
* PlWizard::PREVIOUS_PAGE, PlWizard::LAST_PAGE).
*/
- pl_redirect($baseurl . '/' . $this->inv_lookup[$curpage]);
+ if (isset($success) && $success) {
+ pl_redirect($baseurl . '/' . $this->inv_lookup[$curpage] . '/null/' . $success);
+ } else {
+ pl_redirect($baseurl . '/' . $this->inv_lookup[$curpage]);
+ }
$smarty->changeTpl($this->layout, NO_SKIN);
$smarty->assign('wiz_run_ajax', true);
} else {
$smarty->changeTpl($this->layout, NO_SKIN);
$smarty->assign('wiz_run_ajax', true);
} else {
$smarty->assign('wiz_page', $page->template());
$smarty->assign('pl_no_errors', true);
$page->prepare($smarty, isset($this->inv_lookup[$curpage]) ? $this->inv_lookup[$curpage] : $curpage);
$smarty->assign('wiz_page', $page->template());
$smarty->assign('pl_no_errors', true);
$page->prepare($smarty, isset($this->inv_lookup[$curpage]) ? $this->inv_lookup[$curpage] : $curpage);