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

Back to archive index

Minahito minah****@users*****
2006年 8月 11日 (金) 20:03:03 JST


Index: xoops2jp/html/modules/base/admin/actions/ActSearchAction.class.php
diff -u xoops2jp/html/modules/base/admin/actions/ActSearchAction.class.php:1.1.2.8 xoops2jp/html/modules/base/admin/actions/ActSearchAction.class.php:1.1.2.9
--- xoops2jp/html/modules/base/admin/actions/ActSearchAction.class.php:1.1.2.8	Mon Aug  7 20:27:47 2006
+++ xoops2jp/html/modules/base/admin/actions/ActSearchAction.class.php	Fri Aug 11 20:03:02 2006
@@ -137,12 +137,6 @@
 	function getDefaultView(&$controller, &$xoopsUser)
 	{
 		$this->_processActionForm();
-		return LEGACY_FRAME_VIEW_INPUT;
-	}
-	
-	function execute(&$controller, &$xoopsUser)
-	{
-		$this->_processActionForm();
 
 		$this->mActionForm->fetch();
 		$this->mActionForm->validate();
@@ -159,10 +153,15 @@
 			return LEGACY_FRAME_VIEW_SUCCESS;
 		}
 		else {
-			return LEGACY_FRAME_VIEW_INPUT;
+			return LEGACY_FRAME_VIEW_ERROR;
 		}
 	}
 	
+	function execute(&$controller, &$xoopsUser)
+	{
+		return $this->getDefaultView($controller, $xoopsUser);
+	}
+	
 	function _processActionForm()
 	{
 		$this->mActionForm =& new Legacy_ActionSearchForm();
@@ -181,6 +180,12 @@
 		$render->setTemplateName("legacy_admin_actionsearch_input.html");
 		$render->setAttribute("actionForm", $this->mActionForm);
 	}
+	
+	function executeViewError(&$controller, &$xoopsUser, &$render)
+	{
+		$render->setTemplateName("legacy_admin_actionsearch_error.html");
+		$render->setAttribute("actionForm", $this->mActionForm);
+	}
 }
 
 ?>
\ No newline at end of file


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