mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12872] Add poster_id to viewtopic_modify_post_row
To allow extension authors to use the poster_id var. PHPBB3-12872
This commit is contained in:
parent
d5f87e6053
commit
f6ad9d5fd2
1 changed files with 3 additions and 0 deletions
|
@ -1789,6 +1789,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
|
||||||
* @var int current_row_number Number of the post on this page
|
* @var int current_row_number Number of the post on this page
|
||||||
* @var int end Number of posts on this page
|
* @var int end Number of posts on this page
|
||||||
* @var int total_posts Total posts count
|
* @var int total_posts Total posts count
|
||||||
|
* @var int poster_id Post author id
|
||||||
* @var array row Array with original post and user data
|
* @var array row Array with original post and user data
|
||||||
* @var array cp_row Custom profile field data of the poster
|
* @var array cp_row Custom profile field data of the poster
|
||||||
* @var array attachments List of attachments
|
* @var array attachments List of attachments
|
||||||
|
@ -1798,12 +1799,14 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
|
||||||
* @since 3.1.0-a1
|
* @since 3.1.0-a1
|
||||||
* @change 3.1.0-a3 Added vars start, current_row_number, end, attachments
|
* @change 3.1.0-a3 Added vars start, current_row_number, end, attachments
|
||||||
* @change 3.1.0-b3 Added topic_data array, total_posts
|
* @change 3.1.0-b3 Added topic_data array, total_posts
|
||||||
|
* @change 3.1.0-rc3 Added poster_id
|
||||||
*/
|
*/
|
||||||
$vars = array(
|
$vars = array(
|
||||||
'start',
|
'start',
|
||||||
'current_row_number',
|
'current_row_number',
|
||||||
'end',
|
'end',
|
||||||
'total_posts',
|
'total_posts',
|
||||||
|
'poster_id',
|
||||||
'row',
|
'row',
|
||||||
'cp_row',
|
'cp_row',
|
||||||
'attachments',
|
'attachments',
|
||||||
|
|
Loading…
Add table
Reference in a new issue