This commit is contained in:
Roman Kelesidis 2023-10-26 18:58:55 +07:00
parent 18b9d37438
commit 0e2cd05064
2 changed files with 3 additions and 3 deletions

View File

@ -508,7 +508,7 @@ function insert_post ($mode, $topic_id, $forum_id = '', $old_forum_id = '', $new
function topic_review ($topic_id)
{
global $bb_cfg, $template;
global $bb_cfg, $template, $lang;
// Fetch posts data
$review_posts = DB()->fetch_rowset("
@ -531,7 +531,7 @@ function topic_review ($topic_id)
'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2',
'POSTER' => profile_url($post),
'POSTER_NAME_JS' => addslashes($post['username']),
'POST_DATE' => bb_date($post['post_time'], $bb_cfg['post_date_format']),
'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>',
'MESSAGE' => get_parsed_post($post),
));
}

View File

@ -316,7 +316,7 @@ if (!IS_GUEST && $mode != 'newtopic' && ($submit || $preview || $mode == 'quote'
'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2',
'POSTER' => profile_url($row),
'POSTER_NAME_JS' => addslashes($row['username']),
'POST_DATE' => bb_date($row['post_time'], $bb_cfg['post_date_format']),
'POST_DATE' => '<a class="small" href="' . POST_URL . $row['post_id'] . '#' . $row['post_id'] . '" title="' . $lang['POST_LINK'] . '">' . bb_date($row['post_time'], $bb_cfg['post_date_format']) . '</a>',
'MESSAGE' => get_parsed_post($row),
));
}