[xoops-cvslog 4106] CVS update: xoops2jp/html/modules/legacyRender/kernel

Back to archive index

Minahito minah****@users*****
2006年 8月 11日 (金) 20:34:12 JST


Index: xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php
diff -u xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.23 xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.24
--- xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.23	Thu Aug 10 18:47:26 2006
+++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php	Fri Aug 11 20:34:12 2006
@@ -1,6 +1,6 @@
 <?php
 /**
- * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.23 2006/08/10 09:47:26 minahito Exp $
+ * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.24 2006/08/11 11:34:12 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -63,10 +63,7 @@
 			$this->mXoopsTpl->xoops_setDebugging(true);
 		}
 		
-   		$this->mXoopsTpl->assign(array('xoops_theme' => $this->mController->mConfig['theme_set'],
-							'xoops_imageurl' => XOOPS_THEME_URL.'/'.$this->mController->mConfig['theme_set'].'/',
-							'xoops_themecss'=> xoops_getcss($this->mController->mConfig['theme_set']),
-							'xoops_requesturi' => htmlspecialchars($GLOBALS['xoopsRequestUri'], ENT_QUOTES),	//@todo ?????????????
+   		$this->mXoopsTpl->assign(array('xoops_requesturi' => htmlspecialchars($GLOBALS['xoopsRequestUri'], ENT_QUOTES),	//@todo ?????????????
 							'xoops_sitename' => htmlspecialchars($this->mController->mConfig['sitename'], ENT_QUOTES),
 							'xoops_slogan' => htmlspecialchars($this->mController->mConfig['slogan'], ENT_QUOTES),
 							// set JavaScript/Weird, but need extra <script> tags for 2.0.x themes
@@ -228,6 +225,10 @@
 
 	function renderTheme(&$target)
 	{
+   		$this->mXoopsTpl->assign('xoops_theme', $this->mController->getMainTheme());
+   		$this->mXoopsTpl->assign('xoops_imageurl', XOOPS_THEME_URL . '/' . $this->mController->getMainTheme() . '/');
+   		$this->mXoopsTpl->assign('xoops_themecss', xoops_getcss($this->mController->getMainTheme()));
+		
 		//
 		// Assign from attributes of the render-target.
 		//


xoops-cvslog メーリングリストの案内
Back to archive index