[xoops-cvslog 3562] CVS update: xoops2jp/html/modules/user/admin/actions

Back to archive index

Minahito minah****@users*****
2006年 7月 13日 (木) 19:44:06 JST


Index: xoops2jp/html/modules/user/admin/actions/GroupListAction.class.php
diff -u xoops2jp/html/modules/user/admin/actions/GroupListAction.class.php:1.1.2.2 xoops2jp/html/modules/user/admin/actions/GroupListAction.class.php:1.1.2.3
--- xoops2jp/html/modules/user/admin/actions/GroupListAction.class.php:1.1.2.2	Tue Mar 28 22:31:14 2006
+++ xoops2jp/html/modules/user/admin/actions/GroupListAction.class.php	Thu Jul 13 19:44:06 2006
@@ -5,7 +5,6 @@
 require_once XOOPS_MODULE_PATH . "/user/class/PageNavigator.class.php";
 require_once XOOPS_MODULE_PATH . "/user/class/AbstractListAction.class.php";
 require_once XOOPS_MODULE_PATH . "/user/admin/forms/GroupFilterForm.class.php";
-require_once XOOPS_MODULE_PATH . "/user/admin/class/XoopsGroupEx.class.php";
 
 class User_GroupListAction extends User_AbstractListAction
 {
@@ -23,18 +22,13 @@
 
 	function _getBaseUrl()
 	{
-		return "./index.php?action=GroupsList";
+		return "./index.php?action=GroupList";
 	}
 
 	function executeViewIndex(&$controller, &$xoopsUser, &$render)
 	{
-		$groups = array();
-		foreach ($this->mObjects as $_group) {
-			$groups[] =& new XoopsGroupEx($_group);
-		}
-
 		$render->setTemplateName("group_list.html");
-		$render->setAttribute("objects", $groups);
+		$render->setAttribute("objects", $this->mObjects);
 		$render->setAttribute("pageNavi", $this->mNavi);
 	}
 }


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