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

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 7月 10日 (月) 14:56:52 JST


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


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