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

Back to archive index

Minahito minah****@users*****
2006年 1月 19日 (木) 21:06:18 JST


Index: xoops2jp/html/modules/user/admin/actions/UserGroupEditAction.class.php
diff -u xoops2jp/html/modules/user/admin/actions/UserGroupEditAction.class.php:1.1.2.2 xoops2jp/html/modules/user/admin/actions/UserGroupEditAction.class.php:removed
--- xoops2jp/html/modules/user/admin/actions/UserGroupEditAction.class.php:1.1.2.2	Sun Jan  8 23:02:10 2006
+++ xoops2jp/html/modules/user/admin/actions/UserGroupEditAction.class.php	Thu Jan 19 21:06:18 2006
@@ -1,42 +0,0 @@
-<?php
-
-require_once XOOPS_MODULE_PATH . "/user/class/AbstractEditAction.class.php";
-require_once XOOPS_MODULE_PATH . "/user/admin/forms/GroupEditForm.class.php";
-
-class UserGroupEditAction extends User_AbstractEditAction
-{
-	function _getId()
-	{
-		return isset($_REQUEST['groupid']) ? intval($_REQUEST['groupid']) : 0;
-	}
-	
-	function &_getHandler()
-	{
-		$handler =& xoops_gethandler('group');
-		return $handler;
-	}
-
-	function _setupActionForm()
-	{
-		$this->mActionForm =& new User_GroupEditForm();
-		$this->mActionForm->prepare();
-	}
-
-	function executeViewInput(&$controller,&$xoopsUser,&$renderSystem)
-	{
-		$renderSystem->setTemplateName("group_edit.html");
-		$renderSystem->setAttribute("actionForm",$this->mActionForm);
-	}
-
-	function executeViewSuccess(&$controller,&$xoopsUser,&$renderSystem)
-	{
-		XCube_Utils::redirectHeader("index.php?action=GroupList", 1, "*SUCCESS*");
-	}
-
-	function executeViewError(&$controller,&$xoopsUser,&$renderSystem)
-	{
-		XCube_Utils::redirectHeader("index.php?action=GroupList", 1, "*ERROR*");
-	}
-}
-
-?>
\ No newline at end of file
Index: xoops2jp/html/modules/user/admin/actions/UserGroupListAction.class.php
diff -u xoops2jp/html/modules/user/admin/actions/UserGroupListAction.class.php:1.1.2.2 xoops2jp/html/modules/user/admin/actions/UserGroupListAction.class.php:removed
--- xoops2jp/html/modules/user/admin/actions/UserGroupListAction.class.php:1.1.2.2	Sun Dec 25 19:53:23 2005
+++ xoops2jp/html/modules/user/admin/actions/UserGroupListAction.class.php	Thu Jan 19 21:06:18 2006
@@ -1,39 +0,0 @@
-<?php
-
-require_once XOOPS_ROOT_PATH."/class/XCube_PageNavigator.class.php";
-require_once XOOPS_ROOT_PATH."/modules/user/admin/forms/UserActionFilterForm.class.php";
-require_once XOOPS_ROOT_PATH."/modules/user/admin/class/XoopsGroupEx.class.php";
-
-class UserGroupListAction extends UserAction
-{
-	var $mGroupObjects = array();
-	var $mUserCount = array();
-
-	function isSecure()
-	{
-		return true;
-	}
-
-	function getDefaultView(&$controller,&$xoopsUser)
-	{
-		$groupHandler =& xoops_gethandler('group');
-		$this->mGroupObjects =& $groupHandler->getObjects();
-		
-
-		return USER_FRAME_VIEW_INDEX;
-	}
-
-	function executeViewIndex(&$controller,&$xoopsUser,&$renderSystem)
-	{
-		$groups = array();
-		foreach ($this->mGroupObjects as $_group) {
-			$groups[] =& new XoopsGroupEx($_group);
-		}
-
-		$renderSystem->setTemplateName("group_list.html");
-		$renderSystem->setAttribute("groups", $groups);
-		// $renderSystem->setAttribute("pageNavi",$this->mPageNavi);
-	}
-}
-
-?>
\ No newline at end of file


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