Minahito
minah****@users*****
2006年 7月 20日 (木) 17:18:16 JST
Index: xoops2jp/html/include/comment_view.php diff -u xoops2jp/html/include/comment_view.php:1.2.8.3 xoops2jp/html/include/comment_view.php:1.2.8.4 --- xoops2jp/html/include/comment_view.php:1.2.8.3 Tue Feb 21 20:37:49 2006 +++ xoops2jp/html/include/comment_view.php Thu Jul 20 17:18:16 2006 @@ -1,5 +1,5 @@ <?php -// $Id: comment_view.php,v 1.2.8.3 2006/02/21 11:37:49 minahito Exp $ +// $Id: comment_view.php,v 1.2.8.4 2006/07/20 08:18:16 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -45,7 +45,8 @@ $groups = ( $xoopsUser ) ? $xoopsUser -> getGroups() : XOOPS_GROUP_ANONYMOUS; $xoopsTpl->assign( 'xoops_iscommentadmin', $gperm_handler->checkRight( 'system_admin', XOOPS_SYSTEM_COMMENT, $groups) ); - require_once XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/comment.php'; + $root =& XCube_Root::getSingleton(); + $root->mLanguageManager->loadPageTypeMessageCatalog('comment'); $comment_config = $xoopsModule->getInfo('comments'); $com_itemid = (trim($comment_config['itemName']) != '' && isset($_GET[$comment_config['itemName']])) ? intval($_GET[$comment_config['itemName']]) : 0;