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

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 7月 27日 (木) 18:40:43 JST


Index: xoops2jp/html/modules/pm/actions/ReadAction.class.php
diff -u xoops2jp/html/modules/pm/actions/ReadAction.class.php:1.1.2.2 xoops2jp/html/modules/pm/actions/ReadAction.class.php:1.1.2.3
--- xoops2jp/html/modules/pm/actions/ReadAction.class.php:1.1.2.2	Fri Jul 14 17:51:13 2006
+++ xoops2jp/html/modules/pm/actions/ReadAction.class.php	Thu Jul 27 18:40:43 2006
@@ -1,7 +1,7 @@
 <?php
 /**
- * @package Pm
- * @version $Id: ReadAction.class.php,v 1.1.2.2 2006/07/14 08:51:13 minahito Exp $
+ * @package pm
+ * @version $Id: ReadAction.class.php,v 1.1.2.3 2006/07/27 09:40:43 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -104,6 +104,15 @@
 
 		return PM_FRAME_VIEW_INDEX;
 	}
+	
+	/**
+	 * When a user click 'delete' button, this member function is called by
+	 * POST request. Forward delete one action.
+	 */
+	function execute(&$controller, &$xoopsUser)
+	{
+		$controller->executeForward(XOOPS_MODULE_URL . "/pm/index.php?action=DeleteOne&msg_id=" . xoops_getrequest('msg_id'));
+	}
 
 	function executeViewError(&$controller, &$xoopsUser, &$render)
 	{


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る