Minahito
minah****@users*****
2006年 10月 21日 (土) 20:34:18 JST
Index: xoops2jp/html/modules/legacy/admin/actions/ThemeListAction.class.php diff -u xoops2jp/html/modules/legacy/admin/actions/ThemeListAction.class.php:1.1.2.2 xoops2jp/html/modules/legacy/admin/actions/ThemeListAction.class.php:1.1.2.3 --- xoops2jp/html/modules/legacy/admin/actions/ThemeListAction.class.php:1.1.2.2 Sun Oct 15 00:58:06 2006 +++ xoops2jp/html/modules/legacy/admin/actions/ThemeListAction.class.php Sat Oct 21 20:34:18 2006 @@ -33,7 +33,7 @@ { $this->_setupObject(); $this->_setupActionForm(); - $this->mMainTheme =& $controller->getTheme(); + $this->mMainTheme = $controller->mRoot->mContext->getThemeName(); } function _setupObject() @@ -103,7 +103,7 @@ $configs[0]->set('conf_value', $themeName); if ($configHandler->insertConfig($configs[0])) { - $controller->mRoot->setThemeName($themeName); + $controller->mRoot->mContext->setThemeName($themeName); $this->mMainTheme = $themeName; } }