| @@ 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 | ||
| @@ 322-325 (lines=4) @@ | ||
| 319 | $xoopsTpl->assign('forum_pagenav', ''); |
|
| 320 | } |
|
| 321 | ||
| 322 | if (!empty($GLOBALS['xoopsModuleConfig']['show_jump'])) { |
|
| 323 | include_once __DIR__ . '/include/functions.forum.php'; |
|
| 324 | $xoopsTpl->assign('forum_jumpbox', newbbMakeJumpbox($forum_id)); |
|
| 325 | } |
|
| 326 | ||
| 327 | if ($GLOBALS['xoopsModuleConfig']['show_permissiontable']) { |
|
| 328 | /** @var \NewbbPermissionHandler $permHandler */ |
|
| @@ 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)), |
|