Minahito
minah****@users*****
2006年 11月 5日 (日) 15:33:35 JST
Index: xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php diff -u xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php:1.1.2.2 xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php:1.1.2.3 --- xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php:1.1.2.2 Sun Oct 15 00:47:18 2006 +++ xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php Sun Nov 5 15:33:35 2006 @@ -21,6 +21,18 @@ return isset($_REQUEST['bid']) ? xoops_getrequest('bid') : 0; } + function prepare(&$controller, &$xoopsUser) + { + parent::prepare($controller, $xoopsUser); + if (is_object($this->mObject)) { + $handler =& xoops_gethandler('module'); + $module =& $handler->get($this->mObject->get('mid')); + if (is_object($module)) { + $controller->mRoot->mLanguageManager->loadModinfoMessageCatalog($module->get('dirname')); + } + } + } + function isEnableCreate() { return false;