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

Back to archive index

Minahito minah****@users*****
2006年 8月 9日 (水) 18:32:31 JST


Index: xoops2jp/html/include/comment_view.php
diff -u xoops2jp/html/include/comment_view.php:1.2.8.4 xoops2jp/html/include/comment_view.php:1.2.8.5
--- xoops2jp/html/include/comment_view.php:1.2.8.4	Thu Jul 20 17:18:16 2006
+++ xoops2jp/html/include/comment_view.php	Wed Aug  9 18:32:31 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: comment_view.php,v 1.2.8.4 2006/07/20 08:18:16 minahito Exp $
+// $Id: comment_view.php,v 1.2.8.5 2006/08/09 09:32:31 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -37,13 +37,12 @@
 }
 
 require_once XOOPS_ROOT_PATH.'/include/comment_constants.php';
-require_once XOOPS_ROOT_PATH.'/modules/system/constants.php';
 
 if (XOOPS_COMMENT_APPROVENONE != $xoopsModuleConfig['com_rule']) {
 
 	$gperm_handler = & xoops_gethandler( 'groupperm' );
 	$groups = ( $xoopsUser ) ? $xoopsUser -> getGroups() : XOOPS_GROUP_ANONYMOUS;
-	$xoopsTpl->assign( 'xoops_iscommentadmin', $gperm_handler->checkRight( 'system_admin', XOOPS_SYSTEM_COMMENT, $groups) );
+	$xoopsTpl->assign( 'xoops_iscommentadmin', $gperm_handler->checkRight( 'system_admin', LEGACY_SYSTEM_COMMENT, $groups) );
 
 	$root =& XCube_Root::getSingleton();
 	$root->mLanguageManager->loadPageTypeMessageCatalog('comment');


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