Minahito
minah****@users*****
2006年 8月 8日 (火) 13:48:24 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.21 xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.22 --- xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.21 Thu Aug 3 23:29:20 2006 +++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php Tue Aug 8 13:48:24 2006 @@ -1,6 +1,6 @@ <?php /** - * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.21 2006/08/03 14:29:20 nobunobu Exp $ + * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.22 2006/08/08 04:48:24 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -94,10 +94,13 @@ $configHandler =& xoops_gethandler('config'); $configs =& $configHandler->getConfigsByCat(0, $legacyRender->get('mid')); - foreach ($configs as $name => $value) { - // prefix each tag with 'xoops_' - $this->mXoopsTpl->assign('xoops_' . $name, $value); - } + $this->mXoopsTpl->assign('xoops_meta_keywords', $configs['meta_keywords']); + $this->mXoopsTpl->assign('xoops_meta_description', $configs['meta_description']); + $this->mXoopsTpl->assign('xoops_meta_robots', $configs['meta_robots']); + $this->mXoopsTpl->assign('xoops_meta_rating', $configs['meta_rating']); + $this->mXoopsTpl->assign('xoops_meta_author', $configs['meta_author']); + $this->mXoopsTpl->assign('xoops_meta_copyright', $configs['meta_copyright']); + $this->mXoopsTpl->assign('xoops_footer', $configs['footer']); } // --------------------------------------