[xoops-cvslog 3410] CVS update: xoops2jp/html/modules/pm/actions

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 7月 4日 (火) 18:46:50 JST


Index: xoops2jp/html/modules/pm/actions/PmDefaultAction.class.php
diff -u xoops2jp/html/modules/pm/actions/PmDefaultAction.class.php:1.1.2.5 xoops2jp/html/modules/pm/actions/PmDefaultAction.class.php:removed
--- xoops2jp/html/modules/pm/actions/PmDefaultAction.class.php:1.1.2.5	Tue Mar 28 22:30:49 2006
+++ xoops2jp/html/modules/pm/actions/PmDefaultAction.class.php	Tue Jul  4 18:46:50 2006
@@ -1,45 +0,0 @@
-<?php
-
-if (!defined('XOOPS_ROOT_PATH')) exit();
-
-require_once XOOPS_ROOT_PATH."/class/XCube_PageNavigator.class.php";
-require_once XOOPS_MODULE_PATH."/pm/forms/DeletePmsgForm.class.php";
-
-class PmDefaultAction extends PmAction
-{
-	var $mActionForm=null;
-	
-	var $mPmObjects=array();
-	
-	var $mPageNavi=null;
-	
-	function isSecure()
-	{
-		return true;
-	}
-
-	function getDefaultView(&$controller,&$xoopsUser)
-	{
-		$pmHandler=&xoops_gethandler('privmessage');
-		$total = $pmHandler->getCountByFromUid($xoopsUser->uid());
-
-		$this->mPageNavi=new XCube_PageNavigator("./index.php",$total,XCUBE_PAGENAVI_START);
-		$this->mPageNavi->fetch();
-
-		$this->mPmObjects =& $pmHandler->getObjectsByFromUid($xoopsUser->uid(),$this->mPageNavi->getStart());
-
-		return PM_FRAME_VIEW_INDEX;
-	}
-
-	function executeViewIndex(&$controller,&$xoopsUser,&$renderSystem)
-	{
-		$renderSystem->setTemplateName("viewpmsg.html");
-		$renderSystem->setAttribute("pmObjects",$this->mPmObjects);
-		$renderSystem->setAttribute("total_messages",count($this->mPmObjects));
-		$renderSystem->setAttribute("currentUser",$xoopsUser);
-		$renderSystem->setAttribute("anonymous",$controller->getConfig('anonymous'));
-		$renderSystem->setAttribute("pageNavi",$this->mPageNavi);
-	}
-}
-
-?>
\ No newline at end of file


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index