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

Back to archive index

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


Index: xoops2jp/html/include/comment_edit.php
diff -u xoops2jp/html/include/comment_edit.php:1.2.8.1 xoops2jp/html/include/comment_edit.php:1.2.8.2
--- xoops2jp/html/include/comment_edit.php:1.2.8.1	Tue Jan 24 23:20:39 2006
+++ xoops2jp/html/include/comment_edit.php	Thu Jul 20 17:17:38 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: comment_edit.php,v 1.2.8.1 2006/01/24 14:20:39 minahito Exp $
+// $Id: comment_edit.php,v 1.2.8.2 2006/07/20 08:17:38 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -46,13 +46,14 @@
 $root =& XCube_Root::getSingleton();
 
 $langManager =& $root->getLanguageManager();
-$langManager->loadModuleLanguage("base");
+$langManager->loadModuleMessageCatalog("base");
 
 if ('system' != $xoopsModule->getVar('dirname') && XOOPS_COMMENT_APPROVENONE == $xoopsModuleConfig['com_rule']) {
 	exit();
 }
 
-include_once XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/comment.php';
+$root->mLanguageManager->loadPageTypeMessageCatalog('comment');
+
 $com_id = isset($_GET['com_id']) ? intval($_GET['com_id']) : 0;
 $com_mode = isset($_GET['com_mode']) ? htmlspecialchars(trim($_GET['com_mode']), ENT_QUOTES) : '';
 if ($com_mode == '') {


xoops-cvslog メーリングリストの案内
Back to archive index