Minahito
minah****@users*****
2005年 12月 27日 (火) 00:49:18 JST
Index: xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php diff -u xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.7 xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.8 --- xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.7 Mon Dec 26 20:03:26 2005 +++ xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php Tue Dec 27 00:49:18 2005 @@ -306,6 +306,8 @@ $this->mRoot->setThemeName($this->mConfig['theme_set']); $GLOBALS['xoopsConfig']=&$this->mConfig; + + $this->mRoot->setThemeName($this->mConfig['theme_set']); } /** @@ -417,7 +419,7 @@ // Theme Control // $screenTarget=$this->mDialogMode ? new Legacy_DialogRenderTarget() : new Legacy_ThemeRenderTarget(); - $screenTarget->setTemplateName($this->mConfig['theme_set']); + $screenTarget->setTemplateName($this->mRoot->getThemeName()); $screenTarget->setAttribute('xoops_contents',$renderTarget->getResult());