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

Back to archive index

onokazu onoka****@users*****
2005年 6月 1日 (水) 21:45:30 JST


Index: xoops2jp/html/include/cp_functions.php
diff -u xoops2jp/html/include/cp_functions.php:1.2.6.3 xoops2jp/html/include/cp_functions.php:1.2.6.4
--- xoops2jp/html/include/cp_functions.php:1.2.6.3	Mon May 30 19:39:32 2005
+++ xoops2jp/html/include/cp_functions.php	Wed Jun  1 21:45:30 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: cp_functions.php,v 1.2.6.3 2005/05/30 10:39:32 onokazu Exp $
+// $Id: cp_functions.php,v 1.2.6.4 2005/06/01 12:45:30 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -55,6 +55,12 @@
         include_once XOOPS_CACHE_PATH.'/adminmenu.php';
         $moduleperm_handler =& xoops_gethandler('groupperm');
         $admin_mids =& $moduleperm_handler->getItemIds('module_admin', $xoopsUser->getGroups());
+
+        $module_handler =& xoops_gethandler('module');
+        $modules =& $module_handler->getObjects(new
+Criteria('mid', "(".implode(',', $admin_mids).")", 'IN'), true);
+        $admin_mids = array_keys($modules);
+
 ?>
 
 <script type='text/javascript'>


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