aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-03-05 15:46:33 +0100
committerMarc Alexander <admin@m-a-styles.de>2015-03-05 15:46:33 +0100
commit8f09ff210f0ece0e509b9ea733df91891104f55a (patch)
tree745474e830b2854e0822dfda8cff87646f248f0a /phpBB
parent149a2dd91abf9bd13d96da4b5118bf50b8bef653 (diff)
parentc7ce6cd26f3474c6970ce7efb47b119aa4d9987d (diff)
downloadforums-8f09ff210f0ece0e509b9ea733df91891104f55a.tar
forums-8f09ff210f0ece0e509b9ea733df91891104f55a.tar.gz
forums-8f09ff210f0ece0e509b9ea733df91891104f55a.tar.bz2
forums-8f09ff210f0ece0e509b9ea733df91891104f55a.tar.xz
forums-8f09ff210f0ece0e509b9ea733df91891104f55a.zip
Merge pull request #3413 from kasimi/ticket/13540
[ticket/13540] Add topic info and total posts count to mcp_topic_review_modify_row event
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/mcp/mcp_topic.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php
index a3cffe51e6..8347830d0f 100644
--- a/phpBB/includes/mcp/mcp_topic.php
+++ b/phpBB/includes/mcp/mcp_topic.php
@@ -259,6 +259,8 @@ 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
+ * @var int total Total posts count
* @since 3.1.4-RC1
*/
$vars = array(
@@ -270,6 +272,8 @@ function mcp_topic_view($id, $mode, $action)
'current_row_number',
'post_row',
'row',
+ 'topic_info',
+ 'total',
);
extract($phpbb_dispatcher->trigger_event('core.mcp_topic_review_modify_row', compact($vars)));