#author("2024-09-02T06:54:03+00:00","default:iseki","iseki") ** Plugins [#v92c4106] - [[title_page.inc.php>xpWiki/Hack/title_page.inc.php]] ** cubeUtils 使用時に英語モードの場合は英語のヘルプを表示 [#r4f5e72c] - xoops_trust_path/modules/xpwiki/class/func/pukiwiki_func.php // Fumi.Iseki $config_handler =& xoops_gethandler('config'); $xoopsConfig =& $config_handler->getConfigsByCat(XOOPS_CONF); $language = (empty($xoopsConfig['language_origin']))? $xoopsConfig['language'] : $xoopsConfig['language_origin']; $langtail = ""; if ($language=="english") { $langtail = " (E)"; } if (isset($this->root->vars['help'])) { $body .= $this->root->hr . $this->catrule(); } else { $sdir = htmlspecialchars($this->root->mydirname, ENT_QUOTES); $body .= '<ul><li><a class="pagelink_popup" href="' . $this->root->script . '?cmd=edit&help=true&page=' . $r_page . '" onclick="return XpWiki.pagePopup({dir:\''.$sdir.'\',page:\'FormattingRules'.$langtail.'\'});">' . $this->root->_msg_help . '</a></li></ul>'; //'" onclick="return XpWiki.pagePopup({dir:\''.$sdir.'\',page:\'FormattingRules (E)\'});">' . $this->root->_msg_help . '</a></li></ul>'; }