[xoops-cvslog 5888] CVS update: xoops2jp/html/modules/legacy/admin/actions

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 11月 17日 (金) 20:21:33 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.4 xoops2jp/html/modules/legacy/admin/actions/ThemeListAction.class.php:1.1.2.5
--- xoops2jp/html/modules/legacy/admin/actions/ThemeListAction.class.php:1.1.2.4	Fri Nov 17 19:40:59 2006
+++ xoops2jp/html/modules/legacy/admin/actions/ThemeListAction.class.php	Fri Nov 17 20:21:33 2006
@@ -33,7 +33,15 @@
 	{
 		$this->_setupObject();
 		$this->_setupActionForm();
-		$this->mMainTheme = $controller->mRoot->mContext->getThemeName();
+		
+		$handler =& xoops_gethandler('config');
+		
+		$criteria =& new CriteriaCompo();
+		$criteria->add(new Criteria('conf_name', 'theme_set'));
+		$criteria->add(new Criteria('conf_catid', XOOPS_CONF));
+		
+		$configs =& $handler->getConfigs($criteria);
+		$this->mMainTheme = $configs[0]->get('conf_value');
 	}
 	
 	function _setupObject()


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る