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

Back to archive index

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


Index: xoops2jp/html/modules/base/admin/actions/CustomBlockEditAction.class.php
diff -u xoops2jp/html/modules/base/admin/actions/CustomBlockEditAction.class.php:1.1.2.3 xoops2jp/html/modules/base/admin/actions/CustomBlockEditAction.class.php:1.1.2.4
--- xoops2jp/html/modules/base/admin/actions/CustomBlockEditAction.class.php:1.1.2.3	Mon May 29 17:51:08 2006
+++ xoops2jp/html/modules/base/admin/actions/CustomBlockEditAction.class.php	Tue Aug  1 19:31:03 2006
@@ -1,4 +1,8 @@
 <?php
+/**
+ * @package Legacy
+ * @version $Id: CustomBlockEditAction.class.php,v 1.1.2.4 2006/08/01 10:31:03 minahito Exp $
+ */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
@@ -78,6 +82,16 @@
 		$ctypeArr =& $handler->getObjects();
 		$render->setAttribute('ctypeArr', $ctypeArr);
 	}
+	
+	function executeViewCancel(&$controller, &$xoopsUser, &$render)
+	{
+		if ($this->mObject->isNew()) {
+			$controller->executeForward("./index.php?action=BlockInstallList");
+		}
+		else {
+			$controller->executeForward("./index.php?action=BlockList");
+		}
+	}
 }
 
 ?>


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