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

Back to archive index

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


Index: xoops2jp/html/modules/user/admin/actions/MailjobEditAction.class.php
diff -u xoops2jp/html/modules/user/admin/actions/MailjobEditAction.class.php:1.1.2.1 xoops2jp/html/modules/user/admin/actions/MailjobEditAction.class.php:1.1.2.2
--- xoops2jp/html/modules/user/admin/actions/MailjobEditAction.class.php:1.1.2.1	Thu Apr 27 19:23:38 2006
+++ xoops2jp/html/modules/user/admin/actions/MailjobEditAction.class.php	Thu Jul 13 19:45:01 2006
@@ -1,4 +1,8 @@
 <?php
+/**
+ * @package user
+ * @version $Id: MailjobEditAction.class.php,v 1.1.2.2 2006/07/13 10:45:01 minahito Exp $
+ */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
@@ -14,7 +18,7 @@
 	
 	function _getId()
 	{
-		return isset($_REQUEST['mailjob_id']) ? $_REQUEST['mailjob_id'] : 0;
+		return xoops_getrequest('mailjob_id');
 	}
 
 	function &_getHandler()
@@ -71,7 +75,12 @@
 
 	function executeViewError(&$controller, &$xoopsUser, &$render)
 	{
-		redirect_header("./index.php?action=MailjobList", 1, _AD_USER_ERROR_DBUPDATE_FAILED);
+		$controller->executeRedirect("./index.php?action=MailjobList", 1, _AD_USER_ERROR_DBUPDATE_FAILED);
+	}
+
+	function executeViewCancel(&$controller, &$xoopsUser, &$render)
+	{
+		$controller->executeForward("./index.php?action=MailjobList");
 	}
 }
 


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