Minahito
minah****@users*****
2006年 8月 10日 (木) 18:47:26 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.22 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.22 Tue Aug 8 13:48:24 2006 +++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php Thu Aug 10 18:47:26 2006 @@ -1,6 +1,6 @@ <?php /** - * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.22 2006/08/08 04:48:24 minahito Exp $ + * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.23 2006/08/10 09:47:26 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -73,17 +73,6 @@ 'xoops_js' => '//--></script><script type="text/javascript" src="'.XOOPS_URL.'/include/xoops.js"></script><script type="text/javascript"><!--' )); - // - // If this site has the setting of banner. - // TODO this process depends on XOOPS 2.0.x. - // - if ($this->mController->mConfig['banners'] == 1) { - $this->mXoopsTpl->assign('xoops_banner',xoops_getbanner()); - } - else { - $this->mXoopsTpl->assign('xoops_banner',' '); - } - // -------------------------------------- // Meta tags // -------------------------------------- @@ -101,8 +90,22 @@ $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']); + + // + // If this site has the setting of banner. + // TODO this process depends on XOOPS 2.0.x. + // + if ($configs['banners'] == 1) { + $this->mXoopsTpl->assign('xoops_banner',xoops_getbanner()); + } + else { + $this->mXoopsTpl->assign('xoops_banner',' '); + } } - + else { + $this->mXoopsTpl->assign('xoops_banner',' '); + } + // -------------------------------------- // Add User // --------------------------------------