mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 15:35:11 +02:00
[ticket/13540] Add total post count to mcp_topic_review_modify_row event
PHPBB3-13540
This commit is contained in:
parent
f9d34a16dd
commit
c7ce6cd26f
@ -268,6 +268,7 @@ function mcp_topic_view($id, $mode, $action)
|
|||||||
* @var array post_row Template block array of the current post
|
* @var array post_row Template block array of the current post
|
||||||
* @var array row Array with original post and user data
|
* @var array row Array with original post and user data
|
||||||
* @var array topic_info Array with topic data
|
* @var array topic_info Array with topic data
|
||||||
|
* @var int total Total posts count
|
||||||
* @since 3.1.4-RC1
|
* @since 3.1.4-RC1
|
||||||
*/
|
*/
|
||||||
$vars = array(
|
$vars = array(
|
||||||
@ -280,6 +281,7 @@ function mcp_topic_view($id, $mode, $action)
|
|||||||
'post_row',
|
'post_row',
|
||||||
'row',
|
'row',
|
||||||
'topic_info',
|
'topic_info',
|
||||||
|
'total',
|
||||||
);
|
);
|
||||||
extract($phpbb_dispatcher->trigger_event('core.mcp_topic_review_modify_row', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.mcp_topic_review_modify_row', compact($vars)));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user