| @@ 86-90 (lines=5) @@ | ||
| 83 | include_once $GLOBALS['xoops']->path('header.php'); |
|
| 84 | include_once __DIR__ . '/include/functions.render.php'; |
|
| 85 | ||
| 86 | if (!empty($GLOBALS['xoopsModuleConfig']['rss_enable'])) { |
|
| 87 | $xoopsTpl->assign('xoops_module_header', ' |
|
| 88 | <link rel="alternate" type="application/xml+rss" title="' . $xoopsModule->getVar('name') . '-' . $forumObject->getVar('forum_name') . '" href="' . XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/rss.php?f=' . $forum_id . '" /> |
|
| 89 | ' . @$xoopsTpl->get_template_vars('xoops_module_header')); |
|
| 90 | } |
|
| 91 | //$xoopsTpl->assign('xoops_module_header', $xoops_module_header); |
|
| 92 | $xoopsTpl->assign('forum_id', $forum_id); |
|
| 93 | $xoopsTpl->assign('version', $xoopsModule->getVar('version')); |
|
| @@ 204-208 (lines=5) @@ | ||
| 201 | $xoops_pagetitle = $forumObject->getVar('forum_name') . ' - ' . _MD_NEWBB_VIEWALLPOSTS . ' [' . $xoopsModule->getVar('name') . ']'; |
|
| 202 | $xoopsTpl->assign('forum_id', $forumObject->getVar('forum_id')); |
|
| 203 | // irmtfan new method |
|
| 204 | if (!empty($GLOBALS['xoopsModuleConfig']['rss_enable'])) { |
|
| 205 | $xoopsTpl->assign('xoops_module_header', ' |
|
| 206 | <link rel="alternate" type="application/xml+rss" title="' . $xoopsModule->getVar('name') . '-' . $forumObject->getVar('forum_name') . '" href="' . XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/rss.php?f=' . $forum_id . '" /> |
|
| 207 | ' . @$xoopsTpl->get_template_vars('xoops_module_header')); |
|
| 208 | } |
|
| 209 | } elseif (!empty($GLOBALS['xoopsModuleConfig']['rss_enable'])) { |
|
| 210 | $xoopsTpl->assign('xoops_module_header', ' |
|
| 211 | <link rel="alternate" type="application/xml+rss" title="' . $xoopsModule->getVar('name') . '" href="' . XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/rss.php" /> |
|
| @@ 166-170 (lines=5) @@ | ||
| 163 | include_once $GLOBALS['xoops']->path('header.php'); |
|
| 164 | //$xoopsTpl->assign('xoops_module_header', $xoops_module_header); |
|
| 165 | // irmtfan new method |
|
| 166 | if (!empty($GLOBALS['xoopsModuleConfig']['rss_enable'])) { |
|
| 167 | $xoopsTpl->assign('xoops_module_header', ' |
|
| 168 | <link rel="alternate" type="application/rss+xml" title="' . $xoopsModule->getVar('name') . '-' . $forumObject->getVar('forum_name') . '" href="' . XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/rss.php?f=' . $forumObject->getVar('forum_id') . '" /> |
|
| 169 | ' . @$xoopsTpl->get_template_vars('xoops_module_header')); |
|
| 170 | } |
|
| 171 | ||
| 172 | if ($GLOBALS['xoopsModuleConfig']['wol_enabled']) { |
|
| 173 | /** @var \NewbbOnlineHandler $onlineHandler */ |
|