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

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 10月 21日 (土) 20:36:13 JST


Index: xoops2jp/html/modules/legacy/preload/ThemeSelect.class.php
diff -u xoops2jp/html/modules/legacy/preload/ThemeSelect.class.php:1.1.2.2 xoops2jp/html/modules/legacy/preload/ThemeSelect.class.php:1.1.2.3
--- xoops2jp/html/modules/legacy/preload/ThemeSelect.class.php:1.1.2.2	Sun Oct 15 01:43:02 2006
+++ xoops2jp/html/modules/legacy/preload/ThemeSelect.class.php	Sat Oct 21 20:36:13 2006
@@ -45,10 +45,10 @@
 	function doChangeTheme(&$principal, &$controller, &$context)
 	{
 		if (!empty($_POST['xoops_theme_select']) && $this->_isSelectableTheme($_POST['xoops_theme_select'])) {
-			$this->mController->setTheme($_POST['xoops_theme_select']);
+			$this->mRoot->mContext->setThemeName($_POST['xoops_theme_select']);
 			$_SESSION['xoopsUserTheme'] = $_POST['xoops_theme_select'];
 		} elseif (!empty($_SESSION['xoopsUserTheme']) && $this->_isSelectableTheme($_SESSION['xoopsUserTheme'])) {
-			$this->mController->setTheme($_SESSION['xoopsUserTheme']);
+			$this->mRoot->mContext->setThemeName($_SESSION['xoopsUserTheme']);
 		}
 	}
 


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