Minahito
minah****@users*****
2006年 7月 11日 (火) 19:06:58 JST
Index: xoops2jp/html/modules/base/preload/ThemeSelect.class.php diff -u xoops2jp/html/modules/base/preload/ThemeSelect.class.php:1.1.2.3 xoops2jp/html/modules/base/preload/ThemeSelect.class.php:1.1.2.4 --- xoops2jp/html/modules/base/preload/ThemeSelect.class.php:1.1.2.3 Tue Jul 11 14:08:32 2006 +++ xoops2jp/html/modules/base/preload/ThemeSelect.class.php Tue Jul 11 19:06:58 2006 @@ -1,5 +1,5 @@ <?php -// $Id: ThemeSelect.class.php,v 1.1.2.3 2006/07/11 05:08:32 minahito Exp $ +// $Id: ThemeSelect.class.php,v 1.1.2.4 2006/07/11 10:06:58 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -50,10 +50,10 @@ function preBlockFilter() { if (!empty($_POST['xoops_theme_select']) && $this->_isSelectableTheme($_POST['xoops_theme_select'])) { - $this->mController->mConfig['theme_set'] = $_POST['xoops_theme_select']; + $this->mController->setMainTheme($_POST['xoops_theme_select']); $_SESSION['xoopsUserTheme'] = $_POST['xoops_theme_select']; } elseif (!empty($_SESSION['xoopsUserTheme']) && $this->_isSelectableTheme($_POST['xoops_theme_select'])) { - $this->mController->mConfig['theme_set'] = $_SESSION['xoopsUserTheme']; + $this->mController->setMainTheme($_SESSION['xoopsUserTheme']); } $delegate = new XCube_Delegate("Base_ThemeSelect","callbackCheckLoginSuccess");