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

アーカイブの一覧に戻る

NobuNobu nobun****@users*****
2006年 5月 19日 (金) 16:43:14 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.15 xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.16
--- xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.15	Wed May 10 12:37:14 2006
+++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php	Fri May 19 16:43:14 2006
@@ -1,6 +1,6 @@
 <?php
 /**
- * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.15 2006/05/10 03:37:14 minahito Exp $
+ * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.16 2006/05/19 07:43:14 nobunobu Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -92,11 +92,15 @@
 		// Meta tags
 		// --------------------------------------
 		$configHandler=&xoops_gethandler('config');
-		$configs =& $configHandler->getConfigsByCat(0,XOOPS_CONF_METAFOOTER);
-		foreach ($configs as $config) {
+
+//		$configs =& $configHandler->getConfigsByCat(XOOPS_CONF_METAFOOTER);
+        $moduleHandler =& xoops_gethandler('module');
+        $legacyRender =& $moduleHandler->getByDirname('legacyRender');
+		$configs =& $configHandler->getConfigsByCat(0, $legacyRender->getVar('mid'));
+
+    	foreach ($configs as $name=>$value) {
 		    // prefix each tag with 'xoops_'
-			if(is_object($config))
-				$this->mXoopsTpl->assign('xoops_'.$config->getVar('conf_name'),	$config->getConfValueForOutput());
+			$this->mXoopsTpl->assign('xoops_'.$name, $value);
 	    }
 
 		// --------------------------------------


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