cubeUtils 使用時に英語モードの場合は英語のヘルプを表示
- 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>'; }
Counter: 2183,
today: 2,
yesterday: 0
Last-modified: 2008-12-28 (Sun) 12:15:17 (JST) (5607d) by admin