File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -341,7 +341,9 @@ public function getAllTopics($forum, $criteria = null)
341341 $ append = true ;
342342 }
343343 } else {
344- $ topic_page_jump .= '[<a href=" ' . XOOPS_URL . '/modules/newbb/viewtopic.php?topic_id= ' . $ myrow ['topic_id ' ] . '&start= ' . (($ i - 1 ) * $ GLOBALS ['xoopsModuleConfig ' ]['posts_per_page ' ]) . '"> ' . $ i . '</a>] ' ;
344+ //BigKev73 - Made change so link scroll directly to that post
345+ $ topic_page_jump .= '[<a href=" ' . XOOPS_URL . '/modules/newbb/viewtopic.php?topic_id= ' . $ myrow ['topic_id ' ] . '&start= ' . (($ i - 1 ) * $ GLOBALS ['xoopsModuleConfig ' ]['posts_per_page ' ]). '#forumpost ' . $ myrow ['post_id ' ] . '"> ' . $ i . '</a>] ' ;
346+ // $topic_page_jump .= '[<a href="' . XOOPS_URL . '/modules/newbb/viewtopic.php?topic_id=' . $myrow['topic_id'] . '&start=' . (($i - 1) * $GLOBALS['xoopsModuleConfig']['posts_per_page']) . '">' . $i . '</a>]';
345347 // irmtfan remove here and move
346348 //$topic_page_jump_icon = "<a href='" . XOOPS_URL . "/modules/newbb/viewtopic.php?post_id=" . $myrow['post_id'] . "&start=" . (($i - 1) * $GLOBALS['xoopsModuleConfig']['posts_per_page']) . "'>" . newbbDisplayImage('lastposticon',_MD_NEWBB_GOTOLASTPOST) . '</a>';
347349 }
You can’t perform that action at this time.
0 commit comments