Minahito
minah****@users*****
2006年 10月 15日 (日) 00:56:19 JST
Index: xoops2jp/html/modules/legacy/admin/actions/PreferenceEditAction.class.php diff -u xoops2jp/html/modules/legacy/admin/actions/PreferenceEditAction.class.php:1.1.2.1 xoops2jp/html/modules/legacy/admin/actions/PreferenceEditAction.class.php:1.1.2.2 --- xoops2jp/html/modules/legacy/admin/actions/PreferenceEditAction.class.php:1.1.2.1 Sat Oct 14 23:55:19 2006 +++ xoops2jp/html/modules/legacy/admin/actions/PreferenceEditAction.class.php Sun Oct 15 00:56:19 2006 @@ -2,7 +2,7 @@ if (!defined('XOOPS_ROOT_PATH')) exit(); -require_once XOOPS_MODULE_PATH . "/base/admin/forms/PreferenceEditForm.class.php"; +require_once XOOPS_MODULE_PATH . "/legacy/admin/forms/PreferenceEditForm.class.php"; class Legacy_PreferenceEditAction extends Legacy_Action { @@ -157,7 +157,7 @@ function executeViewError(&$controller, &$xoopsUser, &$render) { - $controller->executeRedirect("./index.php?action=PreferenceList", 1, _MD_BASE_ERROR_DBUPDATE_FAILED); + $controller->executeRedirect("./index.php?action=PreferenceList", 1, _MD_LEGACY_ERROR_DBUPDATE_FAILED); } function executeViewCancel(&$controller, &$xoopsUser, &$render) @@ -213,7 +213,7 @@ function hasPermission(&$controller, &$xoopsUser) { $moduleHandler =& xoops_gethandler('module'); - $module =& $moduleHandler->getByDirname('base'); + $module =& $moduleHandler->getByDirname('legacy'); $permHandler =& xoops_gethandler('groupperm'); return $permHandler->checkRight('module_admin', $module->get('mid'), $xoopsUser->getGroups());