Minahito
minah****@users*****
2006年 9月 10日 (日) 19:52:51 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.25 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.25 Sat Aug 12 11:45:13 2006 +++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php Sun Sep 10 19:52:51 2006 @@ -1,6 +1,6 @@ <?php /** - * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.25 2006/08/12 02:45:13 minahito Exp $ + * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.26 2006/09/10 10:52:51 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -119,6 +119,21 @@ 'xoops_isuser' => false, 'xoops_isadmin' => false); } + + // + // Assign module informations. + // + if($this->mController->mModuleController->isModuleProcess()) { // The process of module + $xoopsModule=&$this->mController->mModuleController->mModuleObject; + $this->mXoopsTpl->assign(array('xoops_modulename' => $xoopsModule->getShow('name'), + 'xoops_dirname' => $xoopsModule->getShow('dirname'))); + if (!$this->mXoopsTpl->get_template_vars('xoops_pagetitle')) { + $this->mXoopsTpl->assign(array('xoops_pagetitle' => $xoopsModule->getShow('name'))); + } + } + else { + $this->mXoopsTpl->assign('xoops_pagetitle', htmlspecialchars($this->mController->mConfig['slogan'], ENT_QUOTES)); + } $this->mXoopsTpl->assign($arr); } @@ -242,22 +257,6 @@ // // $this->_processLegacyTemplate(); - // - // Assign module informations. - // - if($this->mController->mModuleController->isModuleProcess()) { // The process of module - $xoopsModule=&$this->mController->mModuleController->mModuleObject; - $this->mXoopsTpl->assign(array('xoops_modulename' => $xoopsModule->getShow('name'), - 'xoops_dirname' => $xoopsModule->getShow('dirname'))); - if (!$this->mXoopsTpl->get_template_vars('xoops_pagetitle')) { - $this->mXoopsTpl->assign(array('xoops_pagetitle' => $xoopsModule->getShow('name'))); - } - } - else { - $this->mXoopsTpl->assign('xoops_pagetitle', htmlspecialchars($this->mController->mConfig['slogan'], ENT_QUOTES)); - } - - // assing /// @todo I must move these to somewhere. $assignNameMap = array(