Minahito
minah****@users*****
2006年 7月 20日 (木) 17:17:15 JST
Index: xoops2jp/html/include/comment_delete.php diff -u xoops2jp/html/include/comment_delete.php:1.2.8.1 xoops2jp/html/include/comment_delete.php:1.2.8.2 --- xoops2jp/html/include/comment_delete.php:1.2.8.1 Wed Oct 19 02:19:03 2005 +++ xoops2jp/html/include/comment_delete.php Thu Jul 20 17:17:15 2006 @@ -1,5 +1,5 @@ <?php -// $Id: comment_delete.php,v 1.2.8.1 2005/10/18 17:19:03 minahito Exp $ +// $Id: comment_delete.php,v 1.2.8.2 2006/07/20 08:17:15 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -105,7 +105,8 @@ exit(); } -include_once XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/comment.php'; +$root =& XCube_Root::getSingleton(); +$root->mLanguageManager->loadPageTypeMessageCatalog('comment'); ///< Is this must? switch ($op) { case 'delete_one':