[xoops-cvslog 5623] CVS update: xoops2jp/html/modules/legacy/preload/Primary

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 11月 5日 (日) 15:39:15 JST


Index: xoops2jp/html/modules/legacy/preload/Primary/SiteClose.class.php
diff -u xoops2jp/html/modules/legacy/preload/Primary/SiteClose.class.php:1.1.2.3 xoops2jp/html/modules/legacy/preload/Primary/SiteClose.class.php:1.1.2.4
--- xoops2jp/html/modules/legacy/preload/Primary/SiteClose.class.php:1.1.2.3	Thu Nov  2 16:36:10 2006
+++ xoops2jp/html/modules/legacy/preload/Primary/SiteClose.class.php	Sun Nov  5 15:39:14 2006
@@ -57,6 +57,8 @@
 						foreach ($_POST['uninstalled_modules'] as $module) {
 							$module = basename($module);
 							if (in_array($module, $retArray['uninstalled'])) {
+								$controller->mRoot->mLanguageManager->loadModuleAdminMessageCatalog('legacy');
+								
 								$handler =& xoops_gethandler('module');
 								$xoopsModule =& $handler->create();
 								$xoopsModule->set('weight', 1);
@@ -92,6 +94,8 @@
 						foreach ($_POST['option_modules'] as $module) {
 							$module = basename($module);
 							if (in_array($module, $optionModules)) {
+								$controller->mRoot->mLanguageManager->loadModuleAdminMessageCatalog('legacy');
+								
 								$handler =& xoops_gethandler('module');
 								$xoopsModule =& $handler->create();
 								$xoopsModule->set('weight', 1);
@@ -123,6 +127,8 @@
 					require_once XOOPS_LEGACY_PATH . "/admin/class/ModuleUninstaller.class.php";
 					$module = basename($_POST['cube_module_uninstallok']);
 					if (in_array($module, $retArray['disabled'])) {
+						$controller->mRoot->mLanguageManager->loadModuleAdminMessageCatalog('legacy');
+								
 						$handler =& xoops_gethandler('module');
 						$xoopsModule =& $handler->getByDirname($module);
 						


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index