@@ 87-93 (lines=7) @@ | ||
84 | $thispage = $wikiPage->getPage($page); |
|
85 | } |
|
86 | if ($thispage) { |
|
87 | if (!defined('_MI_GWIKI_NAME')) { |
|
88 | $langfile = XOOPS_ROOT_PATH . '/modules/' . $dir . '/language/' . $xoopsConfig['language'] . '/modinfo.php'; |
|
89 | if (!file_exists($langfile)) { |
|
90 | $langfile = XOOPS_ROOT_PATH . '/modules/' . $dir . '/language/english/modinfo.php'; |
|
91 | } |
|
92 | include_once $langfile; |
|
93 | } |
|
94 | ||
95 | $rendered = '<h1 class="wikititle">' . htmlspecialchars($wikiPage->title) . '</h1>'; |
|
96 | $rendered .= $wikiPage->renderPage(); |
@@ 174-180 (lines=7) @@ | ||
171 | $block = $wikiPage->getPage($page); |
|
172 | if ($block) { |
|
173 | $block['title'] = htmlspecialchars($block['title']); |
|
174 | if (!defined('_MI_GWIKI_NAME')) { |
|
175 | $langfile = XOOPS_ROOT_PATH . '/modules/' . $dir . '/language/' . $xoopsConfig['language'] . '/modinfo.php'; |
|
176 | if (!file_exists($langfile)) { |
|
177 | $langfile = XOOPS_ROOT_PATH . '/modules/' . $dir . '/language/english/modinfo.php'; |
|
178 | } |
|
179 | include_once $langfile; |
|
180 | } |
|
181 | $xoTheme->addStylesheet(XOOPS_URL . '/modules/' . $dir . '/assets/css/module.css'); |
|
182 | ||
183 | if ($options[0]) { |
|
@@ 298-304 (lines=7) @@ | ||
295 | return false; |
|
296 | } // nothing to show |
|
297 | ||
298 | if (!defined('_MI_GWIKI_NAME')) { |
|
299 | $langfile = XOOPS_ROOT_PATH . '/modules/' . $dir . '/language/' . $xoopsConfig['language'] . '/modinfo.php'; |
|
300 | if (!file_exists($langfile)) { |
|
301 | $langfile = XOOPS_ROOT_PATH . '/modules/' . $dir . '/language/english/modinfo.php'; |
|
302 | } |
|
303 | include_once $langfile; |
|
304 | } |
|
305 | $xoTheme->addStylesheet(XOOPS_URL . '/modules/' . $dir . '/assets/css/module.css'); |
|
306 | ||
307 | foreach ($keywords as $keyimg) { |