Tom Hayakawa
tom_g3x****@users*****
2006年 9月 12日 (火) 22:08:33 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.26 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.26 Sun Sep 10 19:52:51 2006 +++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php Tue Sep 12 22:08:33 2006 @@ -1,6 +1,6 @@ <?php /** - * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.26 2006/09/10 10:52:51 minahito Exp $ + * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.27 2006/09/12 13:08:33 tom_g3x Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -191,7 +191,7 @@ // switch ($target->getType()) { case XCUBE_RENDER_TARGET_TYPE_BLOCK: - $this->renderTheme($target); + $this->renderBlock($target); break; case XCUBE_RENDER_TARGET_TYPE_MAIN: @@ -216,10 +216,6 @@ $this->mXoopsTpl->assign($key,$value); } - foreach($target->getAttributes() as $key=>$value) { - $this->mXoopsTpl->assign($key,$value); - } - if ($target->getTemplateName()) { if ($cachedTemplateId!==null) { $contents=$this->mXoopsTpl->fetch('db:'.$target->getTemplateName(), $xoopsCachedTemplateId);