Minahito
minah****@users*****
2006年 8月 1日 (火) 19:29:10 JST
Index: xoops2jp/html/modules/base/admin/actions/BlockEditAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/BlockEditAction.class.php:1.1.2.7 xoops2jp/html/modules/base/admin/actions/BlockEditAction.class.php:1.1.2.8 --- xoops2jp/html/modules/base/admin/actions/BlockEditAction.class.php:1.1.2.7 Mon May 29 18:12:13 2006 +++ xoops2jp/html/modules/base/admin/actions/BlockEditAction.class.php Tue Aug 1 19:29:10 2006 @@ -1,4 +1,8 @@ <?php +/** + * @package Legacy + * @version $Id: BlockEditAction.class.php,v 1.1.2.8 2006/08/01 10:29:10 minahito Exp $ + */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -14,7 +18,7 @@ function _getId() { - return isset($_REQUEST['bid']) ? $_REQUEST['bid'] : 0; + return isset($_REQUEST['bid']) ? xoops_getrequest('bid') : 0; } function isEnableCreate() @@ -212,7 +216,12 @@ function executeViewError(&$controller, &$xoopsUser, &$render) { - redirect_header("./index.php?action=BlockList", 1, _AD_BASE_ERROR_DBUPDATE_FAILED); + $controller->executeRedirect("./index.php?action=BlockList", 1, _AD_BASE_ERROR_DBUPDATE_FAILED); + } + + function executeViewCancel(&$controller, &$xoopsUser, &$render) + { + $controller->executeForward("./index.php?action=BlockList"); } }