Minahito
minah****@users*****
2006年 7月 25日 (火) 19:03:16 JST
Index: xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php:1.1.2.8 xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php:1.1.2.9 --- xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php:1.1.2.8 Thu Jul 20 17:20:10 2006 +++ xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php Tue Jul 25 19:03:15 2006 @@ -16,6 +16,9 @@ function prepare(&$controller, &$xoopsUser) { + $controller->mRoot->mLanguageManager->loadPageTypeMessageCatalog('comment'); + $controller->mRoot->mLanguageManager->loadPageTypeMessageCatalog('notification'); + $state = (xoops_getrequest('confmod_id') > 0) ? new Legacy_ModulePreferenceEditState($this) : new Legacy_PreferenceEditState($this); $state->prepare($controller, $xoopsUser); @@ -171,6 +174,8 @@ { function prepare(&$controller, &$xoopsUser) { + parent::prepare($controller, $xoopsUser); + $handler =& xoops_gethandler('configcategory'); $this->_mMaster->mCategory =& $handler->get(intval(xoops_getrequest('confcat_id'))); @@ -188,6 +193,8 @@ { function prepare(&$controller, &$xoopsUser) { + parent::prepare($controller, $xoopsUser); + $handler =& xoops_gethandler('module'); $this->_mMaster->mModule =& $handler->get(intval(xoops_getrequest('confmod_id')));