From f9d34a16dd7795757ddf4d0b34c51020077db422 Mon Sep 17 00:00:00 2001 From: kasimi Date: Mon, 16 Feb 2015 20:11:19 +0100 Subject: [ticket/13540] Add topic_info to mcp_topic_review_modify_row event PHPBB3-13540 --- phpBB/includes/mcp/mcp_topic.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB') diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php index 3a456169d5..921a8058c0 100644 --- a/phpBB/includes/mcp/mcp_topic.php +++ b/phpBB/includes/mcp/mcp_topic.php @@ -267,6 +267,7 @@ function mcp_topic_view($id, $mode, $action) * @var int current_row_number Number of the post on this page * @var array post_row Template block array of the current post * @var array row Array with original post and user data + * @var array topic_info Array with topic data * @since 3.1.4-RC1 */ $vars = array( @@ -278,6 +279,7 @@ function mcp_topic_view($id, $mode, $action) 'current_row_number', 'post_row', 'row', + 'topic_info', ); extract($phpbb_dispatcher->trigger_event('core.mcp_topic_review_modify_row', compact($vars))); -- cgit v1.2.1 From c7ce6cd26f3474c6970ce7efb47b119aa4d9987d Mon Sep 17 00:00:00 2001 From: kasimi Date: Tue, 17 Feb 2015 00:48:04 +0100 Subject: [ticket/13540] Add total post count to mcp_topic_review_modify_row event PHPBB3-13540 --- phpBB/includes/mcp/mcp_topic.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB') diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php index 921a8058c0..3598df7ae3 100644 --- a/phpBB/includes/mcp/mcp_topic.php +++ b/phpBB/includes/mcp/mcp_topic.php @@ -268,6 +268,7 @@ function mcp_topic_view($id, $mode, $action) * @var array post_row Template block array of the current post * @var array row Array with original post and user data * @var array topic_info Array with topic data + * @var int total Total posts count * @since 3.1.4-RC1 */ $vars = array( @@ -280,6 +281,7 @@ function mcp_topic_view($id, $mode, $action) 'post_row', 'row', 'topic_info', + 'total', ); extract($phpbb_dispatcher->trigger_event('core.mcp_topic_review_modify_row', compact($vars))); -- cgit v1.2.1