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

Back to archive index

Minahito minah****@users*****
2006年 3月 28日 (火) 13:16:41 JST


Index: xoops2jp/html/modules/user/admin/actions/UserRankDeleteAction.class.php
diff -u xoops2jp/html/modules/user/admin/actions/UserRankDeleteAction.class.php:1.1.2.2 xoops2jp/html/modules/user/admin/actions/UserRankDeleteAction.class.php:removed
--- xoops2jp/html/modules/user/admin/actions/UserRankDeleteAction.class.php:1.1.2.2	Thu Dec 22 20:25:49 2005
+++ xoops2jp/html/modules/user/admin/actions/UserRankDeleteAction.class.php	Tue Mar 28 13:16:41 2006
@@ -1,40 +0,0 @@
-<?php
-
-require_once XOOPS_MODULE_PATH . "/user/class/RankObject.class.php";
-require_once XOOPS_MODULE_PATH . "/user/class/AbstractDeleteAction.class.php";
-
-class UserRankDeleteAction extends User_AbstractDeleteAction
-{
-	function &getHandler()
-	{
-		$root =& XCube_Root::getSingleton();
-		$db =& $root->mController->getDB();
-
-		$handler =& new UserRankObjectHandler($db);
-
-		return $handler;
-	}
-	
-	function getId()
-	{
-		return isset($_REQUEST['rank_id']) ? intval($_REQUEST['rank_id']) : 0;
-	}
-
-	function executeViewInput(&$controller,&$xoopsUser,&$renderSystem)
-	{
-		$renderSystem->setTemplateName("user_admin_rankdelete_input.html");
-		$renderSystem->setAttribute("rank",$this->mObject);
-	}
-
-	function executeViewSuccess(&$controller,&$xoopsUser,&$renderSystem)
-	{
-		XCube_Utils::redirectHeader("?action=RankList",1,_MD_A_USER_MESSAGE_DELETE_RANK_SUCCESS);
-	}
-
-	function executeViewError(&$controller,&$xoopsUser,&$renderSystem)
-	{
-		XCube_Utils::redirectHeader("?action=RankList",1,_MD_A_USER_ERROR_RAISE_ERROR);
-	}
-}
-
-?>
\ No newline at end of file
Index: xoops2jp/html/modules/user/admin/actions/UserRankEditAction.class.php
diff -u xoops2jp/html/modules/user/admin/actions/UserRankEditAction.class.php:1.1.2.3 xoops2jp/html/modules/user/admin/actions/UserRankEditAction.class.php:removed
--- xoops2jp/html/modules/user/admin/actions/UserRankEditAction.class.php:1.1.2.3	Sun Jan  8 23:02:10 2006
+++ xoops2jp/html/modules/user/admin/actions/UserRankEditAction.class.php	Tue Mar 28 13:16:41 2006
@@ -1,42 +0,0 @@
-<?php
-
-require_once XOOPS_MODULE_PATH . "/user/class/AbstractEditAction.class.php";
-require_once XOOPS_MODULE_PATH . "/user/admin/forms/RankEditForm.class.php";
-
-class UserRankEditAction extends User_AbstractEditAction
-{
-	function _getId()
-	{
-		return isset($_REQUEST['rank_id']) ? intval($_REQUEST['rank_id']) : 0;
-	}
-	
-	function &_getHandler()
-	{
-		$handler =& xoops_getmodulehandler('rank');
-		return $handler;
-	}
-	
-	function _setupActionForm()
-	{
-		$this->mActionForm=new RankEditForm();
-		$this->mActionForm->prepare();
-	}
-
-	function executeViewSuccess(&$controller,&$xoopsUser,&$renderSystem)
-	{
-		XCube_Utils::redirectHeader("?action=RankList",1,_MD_A_USER_MESSAGE_SAVE_RANK_SUCCESS);
-	}
-
-	function executeViewError(&$controller,&$xoopsUser,&$renderSystem)
-	{
-		XCube_Utils::redirectHeader("?action=RankList",1,_MD_A_USER_ERROR_RAISE_ERROR);
-	}
-
-	function executeViewInput(&$controller,&$xoopsUser,&$renderSystem)
-	{
-		$renderSystem->setTemplateName("user_admin_rankedit_input.html");
-		$renderSystem->setAttribute("actionForm",$this->mActionForm);
-	}
-}
-
-?>
\ No newline at end of file
Index: xoops2jp/html/modules/user/admin/actions/UserRankListAction.class.php
diff -u xoops2jp/html/modules/user/admin/actions/UserRankListAction.class.php:1.1.2.2 xoops2jp/html/modules/user/admin/actions/UserRankListAction.class.php:removed
--- xoops2jp/html/modules/user/admin/actions/UserRankListAction.class.php:1.1.2.2	Tue Nov 22 12:57:09 2005
+++ xoops2jp/html/modules/user/admin/actions/UserRankListAction.class.php	Tue Mar 28 13:16:41 2006
@@ -1,48 +0,0 @@
-<?php
-
-require_once XOOPS_ROOT_PATH."/class/XCube_PageNavigator.class.php";
-require_once XOOPS_ROOT_PATH."/modules/user/class/RankObject.class.php";
-require_once XOOPS_ROOT_PATH."/modules/user/admin/forms/RankActionFilterForm.class.php";
-
-class UserRankListAction extends UserAction
-{
-	var $mRankObjects=array();
-	var $mFilter=null;
-	var $mPageNavi=null;
-
-	function isSecure()
-	{
-		return true;
-	}
-
-	function getDefaultView(&$controller,&$xoopsUser)
-	{
-		$this->mFilter=new RankActionFilterForm();
-		$this->mFilter->fetch();
-
-		$rankHandler = new UserRankObjectHandler($controller->mDB);
-		$total=$rankHandler->countAll($this->mFilter->mSpecial);
-
-		$this->mPageNavi=new XCube_PageNavigator("./index.php?action=RankList",$total,XCUBE_PAGENAVI_START | XCUBE_PAGENAVI_PERPAGE);	// TODO get controller->getUrl() ?
-		$this->mPageNavi->fetch();
-
-		$this->mRankObjects=$rankHandler->enumAll(
-			$this->mFilter->mSpecial,
-			$this->mFilter->getSort(),
-			$this->mFilter->getOrder(),
-			$this->mPageNavi->getStart(),
-			$this->mPageNavi->getPerPage()
-		);
-		
-		return USER_FRAME_VIEW_INDEX;
-	}
-
-	function executeViewIndex(&$controller,&$xoopsUser,&$renderSystem)
-	{
-		$renderSystem->setTemplateName("user_admin_ranklist_index.html");
-		$renderSystem->setAttribute("ranks",$this->mRankObjects);
-		$renderSystem->setAttribute("pageNavi",$this->mPageNavi);
-	}
-}
-
-?>
\ No newline at end of file


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