Minahito
minah****@users*****
2006年 7月 27日 (木) 14:58:12 JST
Index: xoops2jp/html/modules/base/admin/actions/AbstractModuleInstallAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/AbstractModuleInstallAction.class.php:1.1.2.7 xoops2jp/html/modules/base/admin/actions/AbstractModuleInstallAction.class.php:1.1.2.8 --- xoops2jp/html/modules/base/admin/actions/AbstractModuleInstallAction.class.php:1.1.2.7 Tue Mar 28 22:28:35 2006 +++ xoops2jp/html/modules/base/admin/actions/AbstractModuleInstallAction.class.php Thu Jul 27 14:58:11 2006 @@ -1,12 +1,14 @@ <?php /** - * @version + * @package Legacy + * @version $Id: AbstractModuleInstallAction.class.php,v 1.1.2.8 2006/07/27 05:58:11 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); /** - * This is abstract class for 3 action classes that are Install, Update and Uninstall. + * This is abstract class for 3 action classes that are Install, Update and + * Uninstall. */ class Legacy_AbstractModuleInstallAction extends Legacy_Action { @@ -50,6 +52,10 @@ function execute(&$controller, &$xoopsUser) { + if (isset($_REQUEST['_form_control_cancel'])) { + return LEGACY_FRAME_VIEW_CANCEL; + } + $this->mActionForm->fetch(); $this->mActionForm->validate();