Minahito
minah****@users*****
2006年 10月 15日 (日) 00:52:56 JST
Index: xoops2jp/html/modules/legacy/admin/actions/ImageCreateAction.class.php diff -u xoops2jp/html/modules/legacy/admin/actions/ImageCreateAction.class.php:1.1.2.1 xoops2jp/html/modules/legacy/admin/actions/ImageCreateAction.class.php:1.1.2.2 --- xoops2jp/html/modules/legacy/admin/actions/ImageCreateAction.class.php:1.1.2.1 Sat Oct 14 23:55:19 2006 +++ xoops2jp/html/modules/legacy/admin/actions/ImageCreateAction.class.php Sun Oct 15 00:52:56 2006 @@ -6,8 +6,8 @@ if (!defined('XOOPS_ROOT_PATH')) exit(); -require_once XOOPS_MODULE_PATH . "/base/class/AbstractEditAction.class.php"; -require_once XOOPS_MODULE_PATH . "/base/admin/forms/ImageAdminEditForm.class.php"; +require_once XOOPS_MODULE_PATH . "/legacy/class/AbstractEditAction.class.php"; +require_once XOOPS_MODULE_PATH . "/legacy/admin/forms/ImageAdminEditForm.class.php"; class Legacy_ImageCreateAction extends Legacy_AbstractEditAction { @@ -18,7 +18,7 @@ function &_getHandler() { - $handler =& xoops_getmodulehandler('image', 'base'); + $handler =& xoops_getmodulehandler('image', 'legacy'); return $handler; } @@ -46,7 +46,7 @@ function _doExecute() { - $handler =& xoops_getmodulehandler('imagecategory', 'base'); + $handler =& xoops_getmodulehandler('imagecategory', 'legacy'); $category =& $handler->get($this->mActionForm->get('imgcat_id')); // @@ -92,7 +92,7 @@ $render->setAttribute('actionForm', $this->mActionForm); $render->setAttribute('object', $this->mObject); - $handler =& xoops_getmodulehandler('imagecategory', 'base'); + $handler =& xoops_getmodulehandler('imagecategory', 'legacy'); $categoryArr =& $handler->getObjects(); $render->setAttribute('categoryArr', $categoryArr); } @@ -104,7 +104,7 @@ function executeViewError(&$controller, &$xoopsUser, &$render) { - $controller->executeRedirect("./index.php?action=ImagecategoryList", 1, _MD_BASE_ERROR_DBUPDATE_FAILED); + $controller->executeRedirect("./index.php?action=ImagecategoryList", 1, _MD_LEGACY_ERROR_DBUPDATE_FAILED); } function executeViewCancel(&$controller, &$xoopsUser, &$render)