Minahito
minah****@users*****
2006年 8月 9日 (水) 18:40:35 JST
Index: xoops2jp/html/modules/base/kernel/Legacy_AdminModuleController.class.php diff -u xoops2jp/html/modules/base/kernel/Legacy_AdminModuleController.class.php:1.1.2.2 xoops2jp/html/modules/base/kernel/Legacy_AdminModuleController.class.php:1.1.2.3 --- xoops2jp/html/modules/base/kernel/Legacy_AdminModuleController.class.php:1.1.2.2 Tue Aug 8 16:45:55 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_AdminModuleController.class.php Wed Aug 9 18:40:35 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: Legacy_AdminModuleController.class.php,v 1.1.2.2 2006/08/08 07:45:55 minahito Exp $ + * @version $Id: Legacy_AdminModuleController.class.php,v 1.1.2.3 2006/08/09 09:40:35 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -129,7 +129,9 @@ function setupLanguage() { $languageManager =& $this->mController->mRoot->getLanguageManager(); - $languageManager->loadModuleMessageCatalog($this->mModuleObject->getVar('dirname')); + if (isset($this->mModuleObject->modinfo['cube_style']) && $this->mModuleObject->modinfo['cube_style'] != false) { + $languageManager->loadModuleMessageCatalog($this->mModuleObject->getVar('dirname')); + } $languageManager->loadModuleAdminMessageCatalog($this->mModuleObject->getVar('dirname')); $languageManager->loadModinfoMessageCatalog($this->mModuleObject->getVar('dirname')); }