[xoops-cvslog 3487] CVS update: xoops2jp/html/modules/legacyRender/admin/actions

Back to archive index

Minahito minah****@users*****
2006年 7月 10日 (月) 19:58:55 JST


Index: xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishDeleteAction.class.php
diff -u xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishDeleteAction.class.php:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishDeleteAction.class.php:1.1.2.2
--- xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishDeleteAction.class.php:1.1.2.1	Mon Apr 24 16:30:10 2006
+++ xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishDeleteAction.class.php	Mon Jul 10 19:58:55 2006
@@ -1,4 +1,8 @@
 <?php
+/**
+ * @package legacyRender
+ * @version $Id: BannerfinishDeleteAction.class.php,v 1.1.2.2 2006/07/10 10:58:55 minahito Exp $
+ */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
@@ -9,7 +13,7 @@
 {
 	function _getId()
 	{
-		return isset($_REQUEST['bid']) ? $_REQUEST['bid'] : 0;
+		return xoops_getrequest('bid');
 	}
 
 	function &_getHandler()
@@ -39,7 +43,12 @@
 
 	function executeViewError(&$controller, &$xoopsUser, &$render)
 	{
-		redirect_header("./index.php?action=BannerfinishList", 1, _AD_LEGACYRENDER_ERROR_DBUPDATE_FAILED);
+		$controller->executeRedirect("./index.php?action=BannerfinishList", 1, _AD_LEGACYRENDER_ERROR_DBUPDATE_FAILED);
+	}
+	
+	function executeViewCancel(&$controller, &$xoopsUser, &$render)
+	{
+		$controller->executeForward("./index.php?action=BannerfinishList");
 	}
 }
 


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