[xoops-cvslog 2285] CVS update: xoops2jp/html/modules/system/admin/groups

Back to archive index

onokazu onoka****@users*****
2006年 2月 5日 (日) 14:19:53 JST


Index: xoops2jp/html/modules/system/admin/groups/groups.php
diff -u xoops2jp/html/modules/system/admin/groups/groups.php:1.4 xoops2jp/html/modules/system/admin/groups/groups.php:1.4.6.1
--- xoops2jp/html/modules/system/admin/groups/groups.php:1.4	Wed Aug  3 21:39:16 2005
+++ xoops2jp/html/modules/system/admin/groups/groups.php	Sun Feb  5 14:19:53 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: groups.php,v 1.4 2005/08/03 12:39:16 onokazu Exp $
+// $Id: groups.php,v 1.4.6.1 2006/02/05 05:19:53 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -53,7 +53,7 @@
     //OpenTable();
     echo "<h4 style='text-align:left'>"._AM_EDITADG."</h4>";
     $member_handler =& xoops_gethandler('member');
-    $groups =& $member_handler->getGroups();
+    $groups = $member_handler->getGroups();
         echo "<table class='outer' width='40%' cellpadding='4' cellspacing='1'><tr><th colspan='2'>"._AM_EDITADG."</th></tr>";
     $count = count($groups);
     for ($i = 0; $i < $count; $i++) {
@@ -104,8 +104,8 @@
     $name_value = $thisgroup->getVar("name", "E");
     $desc_value = $thisgroup->getVar("description", "E");
     $moduleperm_handler =& xoops_gethandler('groupperm');
-    $a_mod_value =& $moduleperm_handler->getItemIds('module_admin', $thisgroup->getVar('groupid'));
-    $r_mod_value =& $moduleperm_handler->getItemIds('module_read', $thisgroup->getVar('groupid'));
+    $a_mod_value = $moduleperm_handler->getItemIds('module_admin', $thisgroup->getVar('groupid'));
+    $r_mod_value = $moduleperm_handler->getItemIds('module_read', $thisgroup->getVar('groupid'));
     $r_block_value =& XoopsBlock::getAllBlocksByGroup($thisgroup->getVar("groupid"), false);
     $op_value = "update";
     $submit_value = _AM_UPDATEADG;
@@ -117,7 +117,7 @@
     }
 
     $sysperm_handler =& xoops_gethandler('groupperm');
-    $s_cat_value =& $sysperm_handler->getItemIds('system_admin', $g_id);
+    $s_cat_value = $sysperm_handler->getItemIds('system_admin', $g_id);
 
     include XOOPS_ROOT_PATH."/modules/system/admin/groups/groupform.php";
     echo "<br /><h4 style='text-align:left'>"._AM_EDITMEMBER."</h4>";
@@ -128,7 +128,7 @@
     if ($usercount < 200 && $membercount < 200) {
         // do the old way only when counts are small
         $mlist = array();
-        $members =& $member_handler->getUsersByGroup($g_id, false);
+        $members = $member_handler->getUsersByGroup($g_id, false);
         if (count($members) > 0) {
             $member_criteria = new Criteria('uid', "(".implode(',', $members).")", "IN");
             $member_criteria->setSort('uname');
@@ -136,8 +136,8 @@
         }
         $criteria = new Criteria('level', 0, '>');
         $criteria->setSort('uname');
-        $userslist =& $member_handler->getUserList($criteria);
-        $users =& array_diff($userslist, $mlist);
+        $userslist = $member_handler->getUserList($criteria);
+        $users = array_diff($userslist, $mlist);
         echo '<table class="outer">
         <tr><th align="center">'._AM_NONMEMBERS.'<br />';
         echo '</th><th></th><th align="center">'._AM_MEMBERS.'<br />';


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