aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorjaviexin <javiexin@gmail.com>2015-04-27 17:36:43 +0200
committerjaviexin <javiexin@gmail.com>2015-04-27 17:36:43 +0200
commitf80dc9dc16ec0addf286dfdfe853dc696d7d8ece (patch)
treee5f5a5be825272d6a9f3341d8b4ae8c28ad6c917 /phpBB
parent18e8f281be21e241c50d7ed55a16475d222e144a (diff)
downloadforums-f80dc9dc16ec0addf286dfdfe853dc696d7d8ece.tar
forums-f80dc9dc16ec0addf286dfdfe853dc696d7d8ece.tar.gz
forums-f80dc9dc16ec0addf286dfdfe853dc696d7d8ece.tar.bz2
forums-f80dc9dc16ec0addf286dfdfe853dc696d7d8ece.tar.xz
forums-f80dc9dc16ec0addf286dfdfe853dc696d7d8ece.zip
[ticket/13786] Add events to add MCP post options
Three new events are included: 1) Core event to perform new moderator action in includes/mcp/mcp_post.php 2) Core event to add/modify template data in includes/mcp/mcp_post.php 3) Template event to present new options in template/mcp_post.html Fix another typo. PHPBB3-13786
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/mcp/mcp_post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_post.php b/phpBB/includes/mcp/mcp_post.php
index 03bf7cb1d7..47ff065fe4 100644
--- a/phpBB/includes/mcp/mcp_post.php
+++ b/phpBB/includes/mcp/mcp_post.php
@@ -285,7 +285,7 @@ function mcp_post_details($id, $mode, $action)
'attachments',
's_additional_opts',
);
- extract($phpbb_dispatcher->trigger_event('core.viewtopic_modify_poll_template_data', compact($vars)));
+ extract($phpbb_dispatcher->trigger_event('core.mcp_post_template_data', compact($vars)));
$template->assign_vars($mcp_post_template_data);
$template->assign_var('S_MCP_POST_ADDITIONAL_OPTS', $s_additional_opts);