@@ 88-91 (lines=4) @@ | ||
85 | $xoopsTpl->assign('post_link', 'viewpost.php'); |
|
86 | $xoopsTpl->assign('newpost_link', 'viewpost.php?status=new'); |
|
87 | ||
88 | if (!empty($GLOBALS['xoopsModuleConfig']['show_jump'])) { |
|
89 | include_once __DIR__ . '/include/functions.forum.php'; |
|
90 | $xoopsTpl->assign('forum_jumpbox', newbbMakeJumpbox()); |
|
91 | } |
|
92 | $xoopsTpl->assign('menumode', $menumode); |
|
93 | $xoopsTpl->assign('menumode_other', $menumode_other); |
|
94 |
@@ 362-365 (lines=4) @@ | ||
359 | } |
|
360 | unset($viewtopic_users, $forums); |
|
361 | ||
362 | if (!empty($GLOBALS['xoopsModuleConfig']['show_jump'])) { |
|
363 | include_once __DIR__ . '/include/functions.forum.php'; |
|
364 | $xoopsTpl->assign('forum_jumpbox', newbbMakeJumpbox($forum_id)); |
|
365 | } |
|
366 | ||
367 | if ($postCount > $post_perpage) { |
|
368 | include $GLOBALS['xoops']->path('class/pagenav.php'); |
@@ 682-685 (lines=4) @@ | ||
679 | } |
|
680 | ||
681 | // create jump box |
|
682 | if (!empty($GLOBALS['xoopsModuleConfig']['show_jump'])) { |
|
683 | include_once __DIR__ . '/include/functions.forum.php'; |
|
684 | $xoopsTpl->assign('forum_jumpbox', newbbMakeJumpbox($forum_id)); |
|
685 | } |
|
686 | ||
687 | $xoopsTpl->assign([ |
|
688 | 'lang_forum_index' => sprintf(_MD_NEWBB_FORUMINDEX, htmlspecialchars($GLOBALS['xoopsConfig']['sitename'], ENT_QUOTES)), |
@@ 324-327 (lines=4) @@ | ||
321 | $xoopsTpl->assign('forum_pagenav', ''); |
|
322 | } |
|
323 | ||
324 | if (!empty($GLOBALS['xoopsModuleConfig']['show_jump'])) { |
|
325 | include_once __DIR__ . '/include/functions.forum.php'; |
|
326 | $xoopsTpl->assign('forum_jumpbox', newbbMakeJumpbox($forum_id)); |
|
327 | } |
|
328 | ||
329 | if ($GLOBALS['xoopsModuleConfig']['show_permissiontable']) { |
|
330 | // /** @var \NewbbPermissionHandler $permHandler */ |