Minahito
minah****@users*****
2006年 8月 1日 (火) 19:29:21 JST
Index: xoops2jp/html/modules/base/admin/actions/BlockInstallEditAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/BlockInstallEditAction.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/actions/BlockInstallEditAction.class.php:1.1.2.3 --- xoops2jp/html/modules/base/admin/actions/BlockInstallEditAction.class.php:1.1.2.2 Tue Apr 11 10:51:20 2006 +++ xoops2jp/html/modules/base/admin/actions/BlockInstallEditAction.class.php Tue Aug 1 19:29:20 2006 @@ -1,8 +1,12 @@ <?php +/** + * @package Legacy + * @version $Id: BlockInstallEditAction.class.php,v 1.1.2.3 2006/08/01 10:29:20 minahito Exp $ + */ if (!defined('XOOPS_ROOT_PATH')) exit(); -require_once dirname(__FILE__) . "/BlockEditAction.class.php"; +require_once XOOPS_MODULE_PATH . "/base/admin/actions//BlockEditAction.class.php"; require_once XOOPS_MODULE_PATH . "/base/class/AbstractEditAction.class.php"; require_once XOOPS_MODULE_PATH . "/base/admin/forms/BlockInstallEditForm.class.php"; @@ -38,7 +42,12 @@ 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) + { + $controller->executeForward("./index.php?action=BlockInstallList"); } }