File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -965,8 +965,11 @@ public function renderTopics(\Smarty $xoopsTpl = null)
965965 }
966966 }
967967 }
968+ // BigKev73 - Added to make jump ICON, jump and scroll to the correct "last post"
969+ $ topic_page_jump_icon = "<a href=' " . XOOPS_URL . '/modules/newbb/viewtopic.php?post_id= ' . $ myrow ['topic_last_post_id ' ] . '#forumpost= ' . $ myrow ['topic_last_post_id ' ] . "'> " . newbbDisplayImage ('lastposticon ' , _MD_NEWBB_GOTOLASTPOST ) . '</a> ' ;
970+
968971 // irmtfan - move here for both topics with and without pages - change topic_id to post_id
969- $ topic_page_jump_icon = "<a href=' " . XOOPS_URL . '/modules/newbb/viewtopic.php?post_id= ' . $ myrow ['topic_last_post_id ' ] . '' . "'> " . newbbDisplayImage ('lastposticon ' , _MD_NEWBB_GOTOLASTPOST ) . '</a> ' ;
972+ // $topic_page_jump_icon = "<a href='" . XOOPS_URL . '/modules/newbb/viewtopic.php?post_id=' . $myrow['topic_last_post_id'] . '' . "'>" . newbbDisplayImage('lastposticon', _MD_NEWBB_GOTOLASTPOST) . '</a>';
970973
971974 // ------------------------------------------------------
972975 // => topic array
You can’t perform that action at this time.
0 commit comments