aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2016-05-29 11:08:33 +0200
committerJakub Senko <jakubsenko@gmail.com>2016-05-29 11:41:54 +0200
commit6350798e9728469f51e8e94c161bc99ca8ff97dc (patch)
tree1038e854f445a663625650323a74b901bbbfa0de
parente7262e2d39feb7946710f6ae4bb17aac67f26204 (diff)
downloadforums-6350798e9728469f51e8e94c161bc99ca8ff97dc.tar
forums-6350798e9728469f51e8e94c161bc99ca8ff97dc.tar.gz
forums-6350798e9728469f51e8e94c161bc99ca8ff97dc.tar.bz2
forums-6350798e9728469f51e8e94c161bc99ca8ff97dc.tar.xz
forums-6350798e9728469f51e8e94c161bc99ca8ff97dc.zip
[ticket/14506] Add mcp_move_before template event
PHPBB3-14506
-rw-r--r--phpBB/docs/events.md8
-rw-r--r--phpBB/styles/prosilver/template/mcp_move.html4
-rw-r--r--phpBB/styles/subsilver2/template/mcp_move.html8
3 files changed, 16 insertions, 4 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index fced20ecfe..65c28fa678 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -843,6 +843,14 @@ mcp_front_latest_unapproved_before
* Since: 3.1.3-RC1
* Purpose: Add content before latest unapproved posts list
+mcp_move_before
+===
+* Locations:
+ + styles/prosilver/template/mcp_move.html
+ + styles/subsilver2/template/mcp_move.html
+* Since: 3.1.10-RC1
+* Purpose: Add content before move topic/post form
+
mcp_post_additional_options
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/mcp_move.html b/phpBB/styles/prosilver/template/mcp_move.html
index d028fffeb4..45a9ae83bc 100644
--- a/phpBB/styles/prosilver/template/mcp_move.html
+++ b/phpBB/styles/prosilver/template/mcp_move.html
@@ -31,6 +31,8 @@
<!-- INCLUDE overall_header.html -->
+<!-- EVENT mcp_move_before -->
+
<form id="confirm" action="{S_CONFIRM_ACTION}" method="post">
<div class="panel">
@@ -54,7 +56,7 @@
</fieldset>
<fieldset class="submit-buttons">
- {S_HIDDEN_FIELDS}<input type="submit" name="confirm" value="{YES_VALUE}" class="button1" />&nbsp;
+ {S_HIDDEN_FIELDS}<input type="submit" name="confirm" value="{YES_VALUE}" class="button1" />&nbsp;
<input type="submit" name="cancel" value="{L_NO}" class="button2" />
{S_FORM_TOKEN}
</fieldset>
diff --git a/phpBB/styles/subsilver2/template/mcp_move.html b/phpBB/styles/subsilver2/template/mcp_move.html
index b8958187e6..429fee7e38 100644
--- a/phpBB/styles/subsilver2/template/mcp_move.html
+++ b/phpBB/styles/subsilver2/template/mcp_move.html
@@ -1,9 +1,11 @@
<!-- INCLUDE overall_header.html -->
+<!-- EVENT mcp_move_before -->
+
<div id="pagecontent">
<form name="confirm" action="{S_CONFIRM_ACTION}" method="post">
-
+
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th>{MESSAGE_TITLE}</th>
@@ -32,9 +34,9 @@
</td>
</tr>
</table>
- {S_FORM_TOKEN}
+ {S_FORM_TOKEN}
</form>
-
+
</div>
<br clear="all" />