aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorLaxSlash <copperhead14228@gmail.com>2016-03-23 14:57:18 -0400
committerLaxSlash <copperhead14228@gmail.com>2016-03-23 14:57:18 -0400
commita18c59317f97ff8039250c745660b0df56830dbd (patch)
treebf6aca67851f3d2f259c0176eebeced55aefd339 /phpBB/viewtopic.php
parent8a8428d002eb91330b08e8531b2a9aac51374c32 (diff)
downloadforums-a18c59317f97ff8039250c745660b0df56830dbd.tar
forums-a18c59317f97ff8039250c745660b0df56830dbd.tar.gz
forums-a18c59317f97ff8039250c745660b0df56830dbd.tar.bz2
forums-a18c59317f97ff8039250c745660b0df56830dbd.tar.xz
forums-a18c59317f97ff8039250c745660b0df56830dbd.zip
[ticket/14395] core.viewtopic_add_quickmod_option_before
Added an event before the function phpbb_add_quickmod_option is called in the viewtopic.php file. This event serves two purposes - one, it is easier to add new quickmod options, and two, it allows an extenstion developer to check additional permissions and apply further authentication for the display of the quickmod options. PHPBB3-14395
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 757c158baa..65aaaa7d87 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -593,14 +593,14 @@ $quickmod_array = array(
* phpbb_add_quickmod_option function.
*
* @event core.viewtopic_add_quickmod_option_before
-* @var int forum_id Forum ID
-* @var int post_id Post ID
-* @var array quickmod_array Array with quick moderation options data
-* @var array topic_data Array with topic data
-* @var int topic_id Topic ID
-* @var array topic_tracking_info Array with topic tracking data
-* @var string viewtopic_url URL to the topic page
-* @var bool allow_change_type Topic change permissions check
+* @var int forum_id Forum ID
+* @var int post_id Post ID
+* @var array quickmod_array Array with quick moderation options data
+* @var array topic_data Array with topic data
+* @var int topic_id Topic ID
+* @var array topic_tracking_info Array with topic tracking data
+* @var string viewtopic_url URL to the topic page
+* @var bool allow_change_type Topic change permissions check
* @since 3.1.9-RC1
*/
$vars = array(