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

Back to archive index

Minahito minah****@users*****
2006年 2月 2日 (木) 21:11:01 JST


Index: xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php
diff -u xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php:1.1.2.1 xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php:1.1.2.2
--- xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php:1.1.2.1	Thu Jan 26 01:18:51 2006
+++ xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php	Thu Feb  2 21:11:01 2006
@@ -1,10 +1,11 @@
 <?php
 /**
- * @version $Id: ModuleInstallAction.class.php,v 1.1.2.1 2006/01/25 16:18:51 minahito Exp $
+ * @version $Id: ModuleInstallAction.class.php,v 1.1.2.2 2006/02/02 12:11:01 minahito Exp $
  */
 
 require_once XOOPS_BASE_PATH."/admin/actions/AbstractModuleInstallAction.class.php";
 require_once XOOPS_BASE_PATH."/admin/class/ModuleInstaller.class.php";
+require_once XOOPS_BASE_PATH."/admin/forms/ModuleInstallForm.class.php";
 
 /**
  * Install module
@@ -19,6 +20,12 @@
 		$installer =& new Legacy_ModuleInstaller($dirname);
 		return $installer;
 	}
+	
+	function _setupActionForm()
+	{
+		$this->mActionForm =& new Legacy_ModuleInstallForm();
+		$this->mActionForm->prepare();
+	}
 
 	function _loadAgreement()
 	{
@@ -49,6 +56,7 @@
 	function executeViewIndex(&$controller,&$xoopsUser,&$renderer)
 	{
 		$renderer->setAttribute('module', $this->mModuleObject);
+		$renderer->setAttribute('actionForm', $this->mActionForm);
 
 		if (isset($this->mModuleObject->modinfo['installer'])) {
 			$renderer->setAttribute('image', $this->mModuleObject->modinfo['installer']['image']);


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