This commit is contained in:
Roman Kelesidis 2024-03-13 17:00:15 +07:00
parent 31fe525889
commit 7f3f199c27
2 changed files with 6 additions and 1 deletions

View File

@ -537,7 +537,9 @@ function topic_review ($topic_id)
'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2',
'POSTER' => profile_url($post),
'POSTER_NAME_JS' => addslashes($post['username']),
'POST_ID' => $post['post_id'],
'POST_DATE' => '<a class="small" href="' . POST_URL . $post['post_id'] . '#' . $post['post_id'] . '" title="' . $lang['POST_LINK'] . '">' . bb_date($post['post_time'], $bb_cfg['post_date_format']) . '</a>',
'IS_UNREAD' => is_unread($post['post_time'], $topic_id, $post['forum_id']),
'MESSAGE' => get_parsed_post($post),
));
}

View File

@ -183,7 +183,10 @@
<p><img src="{SPACER}" width="120" height="10" alt="" /></p>
</td>
<td class="message td2">
<div class="post_head pad_4">{MINIPOST_IMG} {review.POST_DATE}</div>
<div class="post_head pad_4">
<!-- IF review.IS_UNREAD -->{MINIPOST_IMG_NEW}<!-- ELSE -->{MINIPOST_IMG}<!-- ENDIF -->
<a class="small" href="{POST_URL}{review.POST_ID}#{review.POST_ID}" title="{L_POST_LINK}">{review.POST_DATE}</a>
</div>
<div class="post_wrap post_body">{review.MESSAGE}</div>
</td>
</tr>