mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Updated
This commit is contained in:
parent
18b9d37438
commit
0e2cd05064
@ -508,7 +508,7 @@ function insert_post ($mode, $topic_id, $forum_id = '', $old_forum_id = '', $new
|
|||||||
|
|
||||||
function topic_review ($topic_id)
|
function topic_review ($topic_id)
|
||||||
{
|
{
|
||||||
global $bb_cfg, $template;
|
global $bb_cfg, $template, $lang;
|
||||||
|
|
||||||
// Fetch posts data
|
// Fetch posts data
|
||||||
$review_posts = DB()->fetch_rowset("
|
$review_posts = DB()->fetch_rowset("
|
||||||
@ -531,7 +531,7 @@ function topic_review ($topic_id)
|
|||||||
'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2',
|
'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2',
|
||||||
'POSTER' => profile_url($post),
|
'POSTER' => profile_url($post),
|
||||||
'POSTER_NAME_JS' => addslashes($post['username']),
|
'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),
|
'MESSAGE' => get_parsed_post($post),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -316,7 +316,7 @@ if (!IS_GUEST && $mode != 'newtopic' && ($submit || $preview || $mode == 'quote'
|
|||||||
'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2',
|
'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2',
|
||||||
'POSTER' => profile_url($row),
|
'POSTER' => profile_url($row),
|
||||||
'POSTER_NAME_JS' => addslashes($row['username']),
|
'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),
|
'MESSAGE' => get_parsed_post($row),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user