Minahito
minah****@users*****
2006年 8月 1日 (火) 19:29:52 JST
Index: xoops2jp/html/modules/base/admin/actions/BlockListAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/BlockListAction.class.php:1.1.2.5 xoops2jp/html/modules/base/admin/actions/BlockListAction.class.php:1.1.2.6 --- xoops2jp/html/modules/base/admin/actions/BlockListAction.class.php:1.1.2.5 Tue Apr 11 12:19:46 2006 +++ xoops2jp/html/modules/base/admin/actions/BlockListAction.class.php Tue Aug 1 19:29:52 2006 @@ -1,4 +1,8 @@ <?php +/** + * @package Legacy + * @version $Id: BlockListAction.class.php,v 1.1.2.6 2006/08/01 10:29:52 minahito Exp $ + */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -65,7 +69,6 @@ function executeViewIndex(&$controller, &$xoopsUser, &$render) { $render->setTemplateName("block_list.html"); - #cubson::lazy_load_array('newblocks', $this->mObjects); foreach (array_keys($this->mObjects) as $key) { $this->mObjects[$key]->loadModule(); $this->mObjects[$key]->loadColumn(); @@ -89,6 +92,11 @@ { $controller->executeForward('./index.php?action=BlockList'); } + + function executeViewError(&$controller, &$xoopsUser, &$render) + { + $controller->executeRedirect("./index.php?action=BlockInstallList", 1, _AD_BASE_ERROR_DBUPDATE_FAILED); + } } ?>