Minahito
minah****@users*****
2006年 7月 20日 (木) 17:16:36 JST
Index: xoops2jp/html/modules/base/class/commentstatus.php diff -u xoops2jp/html/modules/base/class/commentstatus.php:1.1.2.1 xoops2jp/html/modules/base/class/commentstatus.php:1.1.2.2 --- xoops2jp/html/modules/base/class/commentstatus.php:1.1.2.1 Thu Mar 30 12:54:17 2006 +++ xoops2jp/html/modules/base/class/commentstatus.php Thu Jul 20 17:16:36 2006 @@ -22,7 +22,7 @@ { $root =& XCube_Root::getSingleton(); $language = $root->mController->getConfig('language'); - include_once XOOPS_ROOT_PATH . '/language/' . $language . '/comment.php'; + $root->mLanguageManager->loadPageTypeMessageCatalog('comment'); $this->_mResults[XOOPS_COMMENT_PENDING] =& $this->create(); $this->_mResults[XOOPS_COMMENT_PENDING]->setVar('id', XOOPS_COMMENT_PENDING);