mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-29 20:29:22 +02:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10072] Added the POST_NUMBER template var
This commit is contained in:
commit
5c2243360d
@ -1547,6 +1547,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
|
||||
'U_WARN' => ($auth->acl_get('m_warn') && $poster_id != $user->data['user_id'] && $poster_id != ANONYMOUS) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=warn&mode=warn_post&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '',
|
||||
|
||||
'POST_ID' => $row['post_id'],
|
||||
'POST_NUMBER' => $i + $start + 1,
|
||||
'POSTER_ID' => $poster_id,
|
||||
|
||||
'S_HAS_ATTACHMENTS' => (!empty($attachments[$row['post_id']])) ? true : false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user