[xoops-cvslog 3240] CVS update: xoops2jp/html/modules/base/kernel

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 5月 30日 (火) 12:58:04 JST


Index: xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php
diff -u xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.6 xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.7
--- xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.6	Mon May 29 19:40:10 2006
+++ xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php	Tue May 30 12:58:04 2006
@@ -1,6 +1,6 @@
 <?php
 /**
- * @version $Id: Legacy_EventFunctions.class.php,v 1.1.2.6 2006/05/29 10:40:10 minahito Exp $
+ * @version $Id: Legacy_EventFunctions.class.php,v 1.1.2.7 2006/05/30 03:58:04 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -9,10 +9,19 @@
 {
 	function AccessToImageManager(&$controller,$eventArgs)
 	{
-		//
-		// This forward is temp.
-		//
-		$controller->executeForward(XOOPS_MODULE_URL . "/base/index.php?action=ImageList&target=" . xoops_getrequest('target'));
+		require_once XOOPS_MODULE_PATH . "/base/class/ActionFrame.class.php";
+		
+		$moduleRunner =& new Legacy_ActionFrame(false);
+		
+		$action = isset($_REQUEST['op']) ? ucfirst(xoops_getrequest('op')) : "List";
+		
+		$moduleRunner->setActionName('Image' . $action);
+
+		$controller->setActionStrategy($moduleRunner);
+
+		$controller->executeAction();
+
+		$controller->executeView();
 	}
 
 	function AccessToBackend(&$controller,$eventArgs)


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