Minahito
minah****@users*****
2006年 8月 1日 (火) 19:34:29 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.10 xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php:1.1.2.11 --- xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php:1.1.2.10 Thu Jul 27 14:58:51 2006 +++ xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php Tue Aug 1 19:34:29 2006 @@ -1,6 +1,7 @@ <?php /** - * @version $Id: ModuleInstallAction.class.php,v 1.1.2.10 2006/07/27 05:58:51 minahito Exp $ + * @package Legacy + * @version $Id: ModuleInstallAction.class.php,v 1.1.2.11 2006/08/01 10:34:29 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -50,29 +51,6 @@ $this->mActionForm->prepare(); } - function _loadAgreement() - { - $root =& XCube_Root::getSingleton(); - - $this->mLicence = $this->mModuleObject->modinfo['installer']['licence']['title']; - - $file = $this->mModuleObject->modinfo['installer']['licence']['file']; - $language = $root->mController->getConfig('language'); - - // - // TODO Replace with language manager. - // - $path = XOOPS_MODULE_PATH . "/" . $this->mModuleObject->getVar('dirname') ."/language/" . $language . "/" . $file; - if (!file_exists($path)) { - $path = XOOPS_MODULE_PATH . "/" . $this->mModuleObject->getVar('dirname') . "/language/english/" . $file; - if (!file_exists($path)) { - return; - } - } - - $this->mLicenceText = file_get_contents($path); - } - function executeViewSuccess(&$controller,&$xoopsUser,&$renderer) { if (!$this->mLog->hasError()) {