Minahito
minah****@users*****
2006年 7月 10日 (月) 16:23:37 JST
Index: xoops2jp/html/modules/legacyRender/admin/actions/BannerEditAction.class.php diff -u xoops2jp/html/modules/legacyRender/admin/actions/BannerEditAction.class.php:1.1.2.2 xoops2jp/html/modules/legacyRender/admin/actions/BannerEditAction.class.php:1.1.2.3 --- xoops2jp/html/modules/legacyRender/admin/actions/BannerEditAction.class.php:1.1.2.2 Thu May 11 18:09:55 2006 +++ xoops2jp/html/modules/legacyRender/admin/actions/BannerEditAction.class.php Mon Jul 10 16:23:37 2006 @@ -1,4 +1,8 @@ <?php +/** + * @package legacyRender + * @version $Id: BannerEditAction.class.php,v 1.1.2.3 2006/07/10 07:23:37 minahito Exp $ + */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -54,7 +58,12 @@ function executeViewError(&$controller, &$xoopsUser, &$render) { - redirect_header("./index.php?action=BannerList", 1, _AD_LEGACYRENDER_ERROR_DBUPDATE_FAILED); + $controller->executeRedirect("./index.php?action=BannerList", 1, _AD_LEGACYRENDER_ERROR_DBUPDATE_FAILED); + } + + function executeViewCancel(&$controller, &$xoopsUser, &$render) + { + $controller->executeForward("./index.php?action=BannerList"); } }