[xoops-cvslog 3820] CVS update: xoops2jp/html/modules/base/admin/actions

Back to archive index

Minahito minah****@users*****
2006年 8月 1日 (火) 19:35:41 JST


Index: xoops2jp/html/modules/base/admin/actions/SmilesDeleteAction.class.php
diff -u xoops2jp/html/modules/base/admin/actions/SmilesDeleteAction.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/actions/SmilesDeleteAction.class.php:1.1.2.3
--- xoops2jp/html/modules/base/admin/actions/SmilesDeleteAction.class.php:1.1.2.2	Tue Mar 28 22:28:35 2006
+++ xoops2jp/html/modules/base/admin/actions/SmilesDeleteAction.class.php	Tue Aug  1 19:35:41 2006
@@ -1,4 +1,8 @@
 <?php
+/**
+ * @package Legacy
+ * @version $Id: SmilesDeleteAction.class.php,v 1.1.2.3 2006/08/01 10:35:41 minahito Exp $
+ */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
@@ -9,7 +13,7 @@
 {
 	function _getId()
 	{
-		return isset($_REQUEST['id']) ? $_REQUEST['id'] : 0;
+		return isset($_REQUEST['id']) ? xoops_getrequest('id') : 0;
 	}
 
 	function &_getHandler()
@@ -38,7 +42,12 @@
 
 	function executeViewError(&$controller, &$xoopsUser, &$render)
 	{
-		redirect_header("./index.php?action=SmilesList", 1, _AD_BASE_ERROR_DBUPDATE_FAILED);
+		$controller->executeRedirect("./index.php?action=SmilesList", 1, _AD_BASE_ERROR_DBUPDATE_FAILED);
+	}
+
+	function executeViewCancel(&$controller, &$xoopsUser, &$render)
+	{
+		$controller->executeForward("./index.php?action=SmilesList");
 	}
 }
 
Index: xoops2jp/html/modules/base/admin/actions/SmilesEditAction.class.php
diff -u xoops2jp/html/modules/base/admin/actions/SmilesEditAction.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/actions/SmilesEditAction.class.php:1.1.2.3
--- xoops2jp/html/modules/base/admin/actions/SmilesEditAction.class.php:1.1.2.2	Tue Mar 28 22:28:35 2006
+++ xoops2jp/html/modules/base/admin/actions/SmilesEditAction.class.php	Tue Aug  1 19:35:41 2006
@@ -1,4 +1,8 @@
 <?php
+/**
+ * @package Legacy
+ * @version $Id: SmilesEditAction.class.php,v 1.1.2.3 2006/08/01 10:35:41 minahito Exp $
+ */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
@@ -9,7 +13,7 @@
 {
 	function _getId()
 	{
-		return isset($_REQUEST['id']) ? $_REQUEST['id'] : 0;
+		return isset($_REQUEST['id']) ? xoops_getrequest('id') : 0;
 	}
 
 	function &_getHandler()
@@ -57,7 +61,12 @@
 
 	function executeViewError(&$controller, &$xoopsUser, &$render)
 	{
-		redirect_header("./index.php?action=SmilesList", 1, _AD_BASE_ERROR_DBUPDATE_FAILED);
+		$controller->executeRedirect("./index.php?action=SmilesList", 1, _AD_BASE_ERROR_DBUPDATE_FAILED);
+	}
+	
+	function executeViewCancel(&$controller, &$xoopsUser, &$render)
+	{
+		$controller->executeForward("./index.php?action=SmilesList");
 	}
 }
 


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