Minahito
minah****@users*****
2006年 7月 20日 (木) 17:17:46 JST
Index: xoops2jp/html/include/comment_new.php diff -u xoops2jp/html/include/comment_new.php:1.2.8.2 xoops2jp/html/include/comment_new.php:1.2.8.3 --- xoops2jp/html/include/comment_new.php:1.2.8.2 Tue Jan 24 23:21:10 2006 +++ xoops2jp/html/include/comment_new.php Thu Jul 20 17:17:45 2006 @@ -1,5 +1,5 @@ <?php -// $Id: comment_new.php,v 1.2.8.2 2006/01/24 14:21:10 minahito Exp $ +// $Id: comment_new.php,v 1.2.8.3 2006/07/20 08:17:45 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -43,8 +43,7 @@ // $root =& XCube_Root::getSingleton(); -$langManager =& $root->getLanguageManager(); -$langManager->loadModuleLanguage("base"); +$root->mLanguageManager->loadModuleMessageCatalog("base"); require_once XOOPS_ROOT_PATH.'/include/comment_constants.php'; @@ -52,7 +51,8 @@ exit(); } -include_once XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/comment.php'; +$root->mLanguageManager->loadPageTypeMessageCatalog('comment'); ///< Is this must? + $com_itemid = isset($_GET['com_itemid']) ? intval($_GET['com_itemid']) : 0; if ($com_itemid > 0) {