1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[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

PHPBB3-13786
This commit is contained in:
javiexin
2015-04-27 13:21:23 +02:00
parent 6322970766
commit e98a5afd07
4 changed files with 62 additions and 4 deletions

View File

@@ -144,7 +144,7 @@
</div>
</div>
<!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST or S_CAN_CHGPOSTER -->
<!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST or S_CAN_CHGPOSTER or S_MCP_POST_ADDITIONAL_OPTS -->
<div class="panel">
<div class="inner">
@@ -168,6 +168,10 @@
</form>
<!-- ENDIF -->
<!-- IF S_MCP_POST_ADDITIONAL_OPTS -->
<!-- EVENT mcp_post_additional_options -->
<!-- ENDIF -->
<!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST -->
<form method="post" id="mcp" action="{U_MCP_ACTION}">