Minahito
minah****@users*****
2006年 8月 1日 (火) 19:30:50 JST
Index: xoops2jp/html/modules/base/admin/actions/CustomBlockDeleteAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/CustomBlockDeleteAction.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/actions/CustomBlockDeleteAction.class.php:1.1.2.3 --- xoops2jp/html/modules/base/admin/actions/CustomBlockDeleteAction.class.php:1.1.2.2 Tue Apr 11 10:58:42 2006 +++ xoops2jp/html/modules/base/admin/actions/CustomBlockDeleteAction.class.php Tue Aug 1 19:30:50 2006 @@ -74,7 +74,17 @@ function executeViewError(&$controller, &$xoopsUser, &$render) { - redirect_header("./index.php?action=BlockInstallList", 1, _AD_BASE_ERROR_DBUPDATE_FAILED); + $controller->executeRedirect("./index.php?action=BlockInstallList", 1, _AD_BASE_ERROR_DBUPDATE_FAILED); + } + + function executeViewCancel(&$controller, &$xoopsUser, &$render) + { + if ($this->mObject->isNew()) { + $controller->executeForward("./index.php?action=BlockInstallList"); + } + else { + $controller->executeForward("./index.php?action=BlockList"); + } } }