[ticket/13786] Add events to add MCP post options

Three new events are included:
1) Core event to perform new moderator action in includes/mcp/mcp_post.php
2) Core event to add/modify template data in includes/mcp/mcp_post.php
3) Template event to present new options in template/mcp_post.html
Remove extra template variable around the new event.

PHPBB3-13786
This commit is contained in:
javiexin 2015-05-28 14:28:41 +02:00
parent f80dc9dc16
commit 9951458ebf
2 changed files with 0 additions and 4 deletions

View file

@ -168,9 +168,7 @@
</form> </form>
<!-- ENDIF --> <!-- ENDIF -->
<!-- IF S_MCP_POST_ADDITIONAL_OPTS -->
<!-- EVENT mcp_post_additional_options --> <!-- EVENT mcp_post_additional_options -->
<!-- ENDIF -->
<!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST --> <!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST -->
<form method="post" id="mcp" action="{U_MCP_ACTION}"> <form method="post" id="mcp" action="{U_MCP_ACTION}">

View file

@ -157,9 +157,7 @@
</tr> </tr>
<!-- ENDIF --> <!-- ENDIF -->
<!-- IF S_MCP_POST_ADDITIONAL_OPTS -->
<!-- EVENT mcp_post_additional_options --> <!-- EVENT mcp_post_additional_options -->
<!-- ENDIF -->
<!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST --> <!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST -->
<tr> <tr>