Minahito
minah****@users*****
2006年 2月 2日 (木) 21:01:27 JST
Index: xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php:1.1.2.1 xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php:1.1.2.2 --- xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php:1.1.2.1 Thu Jan 26 01:18:51 2006 +++ xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php Thu Feb 2 21:01:27 2006 @@ -1,10 +1,11 @@ <?php /** - * @version $Id: ModuleUpdateAction.class.php,v 1.1.2.1 2006/01/25 16:18:51 minahito Exp $ + * @version $Id: ModuleUpdateAction.class.php,v 1.1.2.2 2006/02/02 12:01:27 minahito Exp $ */ -require_once XOOPS_BASE_PATH."/admin/actions/AbstractModuleInstallAction.class.php"; -require_once XOOPS_BASE_PATH."/admin/class/ModuleUpdater.class.php"; +require_once XOOPS_BASE_PATH . "/admin/actions/AbstractModuleInstallAction.class.php"; +require_once XOOPS_BASE_PATH . "/admin/class/ModuleUpdater.class.php"; +require_once XOOPS_BASE_PATH . "/admin/forms/ModuleUpdateForm.class.php"; class Legacy_ModuleUpdateAction extends Legacy_AbstractModuleInstallAction { @@ -13,7 +14,13 @@ $installer =& new Legacy_ModuleUpdater($dirname); return $installer; } - + + function _setupActionForm() + { + $this->mActionForm =& new Legacy_ModuleUpdateForm(); + $this->mActionForm->prepare(); + } + function executeViewSuccess(&$controller,&$xoopsUser,&$renderer) { $renderer->setTemplateName("module_update_success.html"); @@ -24,6 +31,7 @@ { $renderer->setTemplateName("module_update_confirm.html"); $renderer->setAttribute('module',$this->mModuleObject); + $renderer->setAttribute('actionForm',$this->mActionForm); } }