Minahito
minah****@users*****
2006年 7月 20日 (木) 17:21:00 JST
Index: xoops2jp/html/class/xoopscomments.php diff -u xoops2jp/html/class/xoopscomments.php:1.2.8.1 xoops2jp/html/class/xoopscomments.php:1.2.8.2 --- xoops2jp/html/class/xoopscomments.php:1.2.8.1 Wed Oct 19 02:16:40 2005 +++ xoops2jp/html/class/xoopscomments.php Thu Jul 20 17:21:00 2006 @@ -1,5 +1,5 @@ <?php -// $Id: xoopscomments.php,v 1.2.8.1 2005/10/18 17:16:40 minahito Exp $ +// $Id: xoopscomments.php,v 1.2.8.2 2006/07/20 08:21:00 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -33,7 +33,9 @@ } include_once XOOPS_ROOT_PATH."/class/xoopstree.php"; require_once XOOPS_ROOT_PATH.'/class/xoopsobject.php'; -include_once XOOPS_ROOT_PATH.'/language/'.$GLOBALS['xoopsConfig']['language'].'/comment.php'; + +$root =& XCube_Root::getSingleton(); +$root->mLanguageManager->loadPageTypeMessageCatalog('comment'); class XoopsComments extends XoopsObject {