Minahito
minah****@users*****
2006年 10月 21日 (土) 20:34:44 JST
Index: xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php diff -u xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.6 xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.7 --- xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.6 Fri Oct 20 17:04:43 2006 +++ xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php Sat Oct 21 20:34:44 2006 @@ -582,7 +582,7 @@ $this->mRoot->mContext->mXoopsConfig =& $configHandler->getConfigsByCat(XOOPS_CONF); - $this->setTheme($this->mRoot->mContext->mXoopsConfig['theme_set']); + $this->mRoot->mContext->setThemeName($this->mRoot->mContext->mXoopsConfig['theme_set']); $this->mRoot->mContext->mXoopsConfig['language'] = $this->mRoot->mLanguageManager->getLanguage(); $GLOBALS['xoopsConfig'] = $this->mRoot->mContext->mXoopsConfig; // Compatiblity for 2.0.x @@ -719,15 +719,6 @@ ob_start(); } - /** - * @var string $theme - */ - function setTheme($theme) - { - $this->mTheme = $theme; - $this->mRoot->mContext->mXoopsConfig['theme_set'] = $theme; - } - function executeView() { if ($this->mRoot->mContext->mModule != null) {