diff options
| author | Jakub Senko <jakubsenko@gmail.com> | 2018-09-25 15:11:12 +0200 | 
|---|---|---|
| committer | Jakub Senko <jakubsenko@gmail.com> | 2018-10-12 10:05:03 +0200 | 
| commit | f9b1f9ced566a504bf5ba147eac9740d5abdce3c (patch) | |
| tree | 24038571e0196f9489f827c2c24353ce30f2a52b | |
| parent | 001f32da95d4f8697ccc9a6107afc8dc68cbe48e (diff) | |
| download | forums-f9b1f9ced566a504bf5ba147eac9740d5abdce3c.tar forums-f9b1f9ced566a504bf5ba147eac9740d5abdce3c.tar.gz forums-f9b1f9ced566a504bf5ba147eac9740d5abdce3c.tar.bz2 forums-f9b1f9ced566a504bf5ba147eac9740d5abdce3c.tar.xz forums-f9b1f9ced566a504bf5ba147eac9740d5abdce3c.zip | |
[ticket/15706] Add mcp_post_report_buttons_top_* events
PHPBB3-15706
| -rw-r--r-- | phpBB/docs/events.md | 14 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/mcp_post.html | 2 | 
2 files changed, 16 insertions, 0 deletions
| diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 6672353296..4cad3563c3 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -974,6 +974,20 @@ mcp_post_additional_options  * Since: 3.1.5-RC1  * Purpose: Add content within the list of post moderation actions +mcp_post_report_buttons_top_after +=== +* Locations: +    + styles/prosilver/template/mcp_post.html +* Since: 3.2.4-RC1 +* Purpose: Add content after report buttons + +mcp_post_report_buttons_top_before +=== +* Locations: +    + styles/prosilver/template/mcp_post.html +* Since: 3.2.4-RC1 +* Purpose: Add content before report buttons +  mcp_topic_options_after  ===  * Locations: diff --git a/phpBB/styles/prosilver/template/mcp_post.html b/phpBB/styles/prosilver/template/mcp_post.html index af16c8ab84..f066919529 100644 --- a/phpBB/styles/prosilver/template/mcp_post.html +++ b/phpBB/styles/prosilver/template/mcp_post.html @@ -31,10 +31,12 @@  	<form method="post" id="mcp_report" action="{S_CLOSE_ACTION}">  	<fieldset class="submit-buttons"> +		{% EVENT mcp_post_report_buttons_top_before %}  		<!-- IF not S_REPORT_CLOSED -->  			<input class="button1" type="submit" value="{L_CLOSE_REPORT}" name="action[close]" />    		<!-- ENDIF -->  		<input class="button2" type="submit" value="{L_DELETE_REPORT}" name="action[delete]" /> +		{% EVENT mcp_post_report_buttons_top_after %}  		<input type="hidden" name="report_id_list[]" value="{REPORT_ID}" />  		{S_FORM_TOKEN}  	</fieldset> | 
