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

Back to archive index

Minahito minah****@users*****
2006年 9月 15日 (金) 13:03:40 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.27 xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.28
--- xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.27	Tue Sep 12 22:08:33 2006
+++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php	Fri Sep 15 13:03:40 2006
@@ -1,6 +1,6 @@
 <?php
 /**
- * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.27 2006/09/12 13:08:33 tom_g3x Exp $
+ * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.28 2006/09/15 04:03:40 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -150,6 +150,10 @@
 
 	function renderBlock(&$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()));
+		
 		//
 		// Temporary
 		//
@@ -210,6 +214,10 @@
 
 	function renderMain(&$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()));
+		
 		$cachedTemplateId = isset($GLOBLAS['xoopsCachedTemplateId']) ? $GLOBLAS['xoopsCachedTemplateId'] : null;
 
 		foreach($target->getAttributes() as $key=>$value) {


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