[xoops-cvslog 3456] CVS update: xoops2jp/html/modules/legacyRender/class

Zurück zum Archiv-Index

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


Index: xoops2jp/html/modules/legacyRender/class/ActionFrame.class.php
diff -u xoops2jp/html/modules/legacyRender/class/ActionFrame.class.php:1.1.2.2 xoops2jp/html/modules/legacyRender/class/ActionFrame.class.php:1.1.2.3
--- xoops2jp/html/modules/legacyRender/class/ActionFrame.class.php:1.1.2.2	Tue Jun 27 18:12:01 2006
+++ xoops2jp/html/modules/legacyRender/class/ActionFrame.class.php	Mon Jul 10 14:52:25 2006
@@ -13,6 +13,8 @@
 define ("LEGACYRENDER_FRAME_VIEW_ERROR", 3);
 define ("LEGACYRENDER_FRAME_VIEW_INDEX", 4);
 define ("LEGACYRENDER_FRAME_VIEW_INPUT", 5);
+define ("LEGACYRENDER_FRAME_VIEW_PREVIEW", 6);
+define ("LEGACYRENDER_FRAME_VIEW_CANCEL", 7);
 
 class LegacyRender_ActionFrame extends XCube_ActionStrategy
 {
@@ -20,7 +22,7 @@
 	var $mAction = null;
 	var $mAdminFlag = null;
 
-	function Legacy_ActionFrame($admin)
+	function LegacyRender_ActionFrame($admin)
 	{
 		$this->mAdminFlag = $admin;
 	}
@@ -42,10 +44,10 @@
 		$className = "LegacyRender_" . ucfirst($this->mActionName) . "Action";
 		$fileName = ucfirst($this->mActionName) . "Action";
 		if ($this->mAdminFlag) {
-			$fileName = XOOPS_MODULE_PATH . "/base/admin/actions/${fileName}.class.php";
+			$fileName = XOOPS_MODULE_PATH . "/legacyRender/admin/actions/${fileName}.class.php";
 		}
 		else {
-			$fileName = XOOPS_MODULE_PATH . "/base/actions/${fileName}.class.php";
+			$fileName = XOOPS_MODULE_PATH . "/legacyRender/actions/${fileName}.class.php";
 		}
 	
 		if (!file_exists($fileName)) {
@@ -96,6 +98,14 @@
 			case LEGACYRENDER_FRAME_VIEW_INPUT:
 				$this->mAction->executeViewInput($controller, $controller->getXoopsUser(), $controller->mRenderSystem);
 				break;
+		
+			case LEGACYRENDER_FRAME_VIEW_PREVIEW:
+				$this->mAction->executeViewPreview($controller, $controller->getXoopsUser(), $controller->mRenderSystem);
+				break;
+		
+			case LEGACYRENDER_FRAME_VIEW_CANCEL:
+				$this->mAction->executeViewCancel($controller, $controller->getXoopsUser(), $controller->mRenderSystem);
+				break;
 		}
 	}
 }
@@ -107,7 +117,7 @@
 	 */
 	var $_mAdminFlag = false;
 	
-	function Legacy_Action($adminFlag = false)
+	function LegacyRender_Action($adminFlag = false)
 	{
 		$this->_mAdminFlag = $adminFlag;
 	}
@@ -146,6 +156,14 @@
 	function executeViewInput(&$controller, &$xoopsUser, &$render)
 	{
 	}
+
+	function executeViewPreview(&$controller, &$xoopsUser, &$render)
+	{
+	}
+
+	function executeViewCancel(&$controller, &$xoopsUser, &$render)
+	{
+	}
 }
 
 ?>


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index