[xoops-cvslog 3648] CVS update: xoops2jp/html/include

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 7月 20日 (木) 17:17:59 JST


Index: xoops2jp/html/include/comment_post.php
diff -u xoops2jp/html/include/comment_post.php:1.2.8.2 xoops2jp/html/include/comment_post.php:1.2.8.3
--- xoops2jp/html/include/comment_post.php:1.2.8.2	Mon Feb 20 19:52:44 2006
+++ xoops2jp/html/include/comment_post.php	Thu Jul 20 17:17:59 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: comment_post.php,v 1.2.8.2 2006/02/20 10:52:44 minahito Exp $
+// $Id: comment_post.php,v 1.2.8.3 2006/07/20 08:17:59 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -32,9 +32,15 @@
 if (!defined('XOOPS_ROOT_PATH') || !is_object($xoopsModule)) {
     exit();
 }
-include_once XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/comment.php';
+
+$root =& XCube_Root::getSingleton();
+$root->mLanguageManager->loadPageTypeMessageCatalog("comment");	///< @todo Is this must?
+
 include_once XOOPS_ROOT_PATH.'/include/comment_constants.php';
 
+//
+// @TODO We have to remove the next line!
+//
 require_once XOOPS_ROOT_PATH . "/modules/system/constants.php";
 
 $com_id = isset($_POST['com_id']) ? intval($_POST['com_id']) : 0;


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る