Minahito
minah****@users*****
2006年 10月 20日 (金) 17:06:50 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.30.2.3 xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.30.2.4 --- xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.30.2.3 Wed Oct 11 17:11:19 2006 +++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php Fri Oct 20 17:06:50 2006 @@ -1,6 +1,6 @@ <?php /** - * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.30.2.3 2006/10/11 08:11:19 minahito Exp $ + * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.30.2.4 2006/10/20 08:06:50 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -60,8 +60,8 @@ } $this->mXoopsTpl->assign(array('xoops_requesturi' => htmlspecialchars($GLOBALS['xoopsRequestUri'], ENT_QUOTES), //@todo ????????????? - 'xoops_sitename' => htmlspecialchars($this->mController->mConfig['sitename'], ENT_QUOTES), - 'xoops_slogan' => htmlspecialchars($this->mController->mConfig['slogan'], ENT_QUOTES), + 'xoops_sitename' => htmlspecialchars($this->mController->mRoot->mContext->mXoopsConfig['sitename'], ENT_QUOTES), + 'xoops_slogan' => htmlspecialchars($this->mController->mRoot->mContext->mXoopsConfig['slogan'], ENT_QUOTES), // set JavaScript/Weird, but need extra <script> tags for 2.0.x themes 'xoops_js' => '//--></script><script type="text/javascript" src="'.XOOPS_URL.'/include/xoops.js"></script><script type="text/javascript"><!--' )); @@ -128,7 +128,7 @@ } } else { - $this->mXoopsTpl->assign('xoops_pagetitle', htmlspecialchars($this->mController->mConfig['slogan'], ENT_QUOTES)); + $this->mXoopsTpl->assign('xoops_pagetitle', htmlspecialchars($this->mController->mRoot->mContext->mXoopsConfig['slogan'], ENT_QUOTES)); } $this->mXoopsTpl->assign($arr);