aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2016-10-02 18:11:48 +0200
committerTristan Darricau <github@nicofuma.fr>2016-10-02 18:11:48 +0200
commit85e4566223487899f3a2789983cb50e68296a982 (patch)
tree3ce4693af542cfb7ac0fb39aa3254cc512cde2c4
parent55a057056702dfadcdb2e7bb29da320c7d845859 (diff)
parentf66ca6a9cc1779270debd5240e5bb6e3f44b9759 (diff)
downloadforums-85e4566223487899f3a2789983cb50e68296a982.tar
forums-85e4566223487899f3a2789983cb50e68296a982.tar.gz
forums-85e4566223487899f3a2789983cb50e68296a982.tar.bz2
forums-85e4566223487899f3a2789983cb50e68296a982.tar.xz
forums-85e4566223487899f3a2789983cb50e68296a982.zip
Merge pull request #4467 from Senky/ticket/14786
[ticket/14786] Add mcp_forum_actions_before/after events * Senky/ticket/14786: [ticket/14786] Add mcp_forum_actions_before/after events
-rw-r--r--phpBB/docs/events.md16
-rw-r--r--phpBB/styles/prosilver/template/mcp_forum.html2
-rw-r--r--phpBB/styles/subsilver2/template/mcp_forum.html2
3 files changed, 20 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index e556193fdf..35c6877a89 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -794,6 +794,22 @@ mcp_ban_unban_before
* Since: 3.1.0-RC3
* Purpose: Add additional fields to the unban form in MCP
+mcp_forum_actions_after
+===
+* Locations:
+ + styles/prosilver/template/mcp_forum.html
+ + styles/subsilver2/template/mcp_forum.html
+* Since: 3.1.11-RC1
+* Purpose: Add some information after actions fieldset
+
+mcp_forum_actions_before
+===
+* Locations:
+ + styles/prosilver/template/mcp_forum.html
+ + styles/subsilver2/template/mcp_forum.html
+* Since: 3.1.11-RC1
+* Purpose: Add some information before actions fieldset
+
mcp_forum_topic_title_before
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/mcp_forum.html b/phpBB/styles/prosilver/template/mcp_forum.html
index 3033ef799c..5858a2c801 100644
--- a/phpBB/styles/prosilver/template/mcp_forum.html
+++ b/phpBB/styles/prosilver/template/mcp_forum.html
@@ -120,6 +120,7 @@
</div>
</div>
+<!-- EVENT mcp_forum_actions_before -->
<fieldset class="display-actions">
<!-- IF not S_MERGE_SELECT -->
<select name="action">
@@ -143,6 +144,7 @@
<!-- ENDIF -->
{S_FORM_TOKEN}
</fieldset>
+<!-- EVENT mcp_forum_actions_after -->
</form>
<!-- INCLUDE mcp_footer.html -->
diff --git a/phpBB/styles/subsilver2/template/mcp_forum.html b/phpBB/styles/subsilver2/template/mcp_forum.html
index ba4f16bb95..d905910c22 100644
--- a/phpBB/styles/subsilver2/template/mcp_forum.html
+++ b/phpBB/styles/subsilver2/template/mcp_forum.html
@@ -58,6 +58,7 @@
<td class="row1" colspan="8" align="center"><p class="gen">{L_NO_TOPICS}</p></td>
</tr>
<!-- END topicrow -->
+<!-- EVENT mcp_forum_actions_before -->
<!-- IF not S_MERGE_SELECT -->
<tr>
<td class="cat" colspan="6" align="{S_CONTENT_FLOW_END}">
@@ -81,6 +82,7 @@
</td>
</tr>
<!-- ENDIF -->
+<!-- EVENT mcp_forum_actions_after -->
</table>
{S_FORM_TOKEN}
</form>