NobuNobu
nobun****@users*****
2006年 1月 25日 (水) 23:03:10 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.9 xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.10 --- xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.9 Wed Jan 25 16:12:55 2006 +++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php Wed Jan 25 23:03:10 2006 @@ -1,6 +1,6 @@ <?php /** - * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.9 2006/01/25 07:12:55 minahito Exp $ + * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.10 2006/01/25 14:03:10 nobunobu Exp $ */ require_once XOOPS_ROOT_PATH."/modules/legacyRender/kernel/Legacy_RenderTarget.class.php"; @@ -239,9 +239,11 @@ // if($this->mController->mModuleController->isModuleProcess()) { // The process of module $xoopsModule=&$this->mController->mModuleController->mModuleObject; - $this->mXoopsTpl->assign(array('xoops_pagetitle' => $xoopsModule->getVar('name'), - 'xoops_modulename' => $xoopsModule->getVar('name'), + $this->mXoopsTpl->assign(array('xoops_modulename' => $xoopsModule->getVar('name'), 'xoops_dirname' => $xoopsModule->getVar('dirname'))); + if (!$this->mXoopsTpl->get_template_vars('xoops_pagetitle')) { + $this->mXoopsTpl->assign(array('xoops_pagetitle' => $xoopsModule->getVar('name'))); + } } else { $this->mXoopsTpl->assign('xoops_pagetitle', htmlspecialchars($this->mController->mConfig['slogan'], ENT_QUOTES));