Skip to content

Commit dbdd726

Browse files
authored
Merge pull request #111 from BigKev73/patch-26
Update newbb_index.tpl
2 parents 7ecbdbf + 8d78a5e commit dbdd726

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

templates/newbb_index.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
<{if $subforum.forum_lastpost_subject|default:''}>
188188
<{$subforum.forum_lastpost_time}> <{$smarty.const._MD_NEWBB_BY}> <{$subforum.forum_lastpost_user}>
189189
<br>
190-
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$subforum.forum_lastpost_id}>">
190+
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?topic_id=<{$forum.forum_lastpost_topicid}>&amp;post_id=<{$subforum.forum_lastpost_id}>#forumpost<{$forum.forum_lastpost_id}>">
191191
<{$subforum.forum_lastpost_subject}>&nbsp;&nbsp;
192192
<{* irmtfan remove icon_path *}>
193193
<{$subforum.forum_lastpost_icon}>
@@ -241,7 +241,7 @@
241241
<{if $forum.forum_lastpost_subject|default:''}>
242242
<{$forum.forum_lastpost_time}> <{$smarty.const._MD_NEWBB_BY}> <{$forum.forum_lastpost_user}>
243243
<br>
244-
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$forum.forum_lastpost_id}>">
244+
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?topic_id=<{$forum.forum_lastpost_topicid}>&amp;post_id=<{$forum.forum_lastpost_id}>#forumpost<{$forum.forum_lastpost_id}>">
245245
<{$forum.forum_lastpost_subject}>&nbsp;&nbsp;
246246
<{* irmtfan remove icon_path *}>
247247
<{$forum.forum_lastpost_icon}>
@@ -302,7 +302,7 @@
302302
<{if $forum.forum_lastpost_subject|default:''}>
303303
<{$forum.forum_lastpost_time}> <{$smarty.const._MD_NEWBB_BY}> <{$forum.forum_lastpost_user}>
304304
<br>
305-
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$forum.forum_lastpost_id}>">
305+
<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?topic_id=<{$forum.forum_lastpost_topicid}>&amp;post_id=<{$forum.forum_lastpost_id}>#forumpost<{$forum.forum_lastpost_id}>">
306306
<{$forum.forum_lastpost_subject}>&nbsp;&nbsp;
307307
<{* irmtfan remove icon_path *}>
308308
<{$forum.forum_lastpost_icon}>

0 commit comments

Comments
 (0)