Merge pull request #4337 from Senky/ticket/14506

Add mcp_move_before template event
This commit is contained in:
Marc Alexander 2016-07-16 21:24:33 +02:00
commit b54aa81cdd
3 changed files with 16 additions and 4 deletions

View file

@ -843,6 +843,14 @@ mcp_front_latest_unapproved_before
* Since: 3.1.3-RC1 * Since: 3.1.3-RC1
* Purpose: Add content before latest unapproved posts list * 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 mcp_post_additional_options
=== ===
* Locations: * Locations:

View file

@ -31,6 +31,8 @@
<!-- INCLUDE overall_header.html --> <!-- INCLUDE overall_header.html -->
<!-- EVENT mcp_move_before -->
<form id="confirm" action="{S_CONFIRM_ACTION}" method="post"> <form id="confirm" action="{S_CONFIRM_ACTION}" method="post">
<div class="panel"> <div class="panel">
@ -54,7 +56,7 @@
</fieldset> </fieldset>
<fieldset class="submit-buttons"> <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" /> <input type="submit" name="cancel" value="{L_NO}" class="button2" />
{S_FORM_TOKEN} {S_FORM_TOKEN}
</fieldset> </fieldset>

View file

@ -1,9 +1,11 @@
<!-- INCLUDE overall_header.html --> <!-- INCLUDE overall_header.html -->
<!-- EVENT mcp_move_before -->
<div id="pagecontent"> <div id="pagecontent">
<form name="confirm" action="{S_CONFIRM_ACTION}" method="post"> <form name="confirm" action="{S_CONFIRM_ACTION}" method="post">
<table class="tablebg" width="100%" cellspacing="1"> <table class="tablebg" width="100%" cellspacing="1">
<tr> <tr>
<th>{MESSAGE_TITLE}</th> <th>{MESSAGE_TITLE}</th>
@ -32,9 +34,9 @@
</td> </td>
</tr> </tr>
</table> </table>
{S_FORM_TOKEN} {S_FORM_TOKEN}
</form> </form>
</div> </div>
<br clear="all" /> <br clear="all" />