diff options
author | javiexin <javiexin@gmail.com> | 2015-04-27 13:21:23 +0200 |
---|---|---|
committer | javiexin <javiexin@gmail.com> | 2015-04-27 13:21:23 +0200 |
commit | e98a5afd07fdd18c8ed877655089e842a1db5f8a (patch) | |
tree | 75f3926dcbc4b73aac467fe5cee2c6d0470382a6 /phpBB/styles/subsilver2/template | |
parent | 6322970766bd9fa78327fa2ca6a6a43d73b680ee (diff) | |
download | forums-e98a5afd07fdd18c8ed877655089e842a1db5f8a.tar forums-e98a5afd07fdd18c8ed877655089e842a1db5f8a.tar.gz forums-e98a5afd07fdd18c8ed877655089e842a1db5f8a.tar.bz2 forums-e98a5afd07fdd18c8ed877655089e842a1db5f8a.tar.xz forums-e98a5afd07fdd18c8ed877655089e842a1db5f8a.zip |
[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
Diffstat (limited to 'phpBB/styles/subsilver2/template')
-rw-r--r-- | phpBB/styles/subsilver2/template/mcp_post.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/styles/subsilver2/template/mcp_post.html b/phpBB/styles/subsilver2/template/mcp_post.html index f5052ee2d0..0a9f803b4d 100644 --- a/phpBB/styles/subsilver2/template/mcp_post.html +++ b/phpBB/styles/subsilver2/template/mcp_post.html @@ -143,7 +143,7 @@ <!-- IF S_TOPIC_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF --> <!-- ELSE --> - <!-- 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 --> <br /><a name="mod" class="anchor"></a> <table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg"> @@ -156,6 +156,11 @@ <td class="row2"><form method="post" name="mcp_chgposter" action="{U_POST_ACTION}"><input class="post" type="text" name="username" value="" /> <input class="btnmain" type="submit" value="{L_CONFIRM}" name="action[chgposter]" /><br /><span class="gensmall">[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span><!-- IF S_USER_SELECT --><br /><select name="u">{S_USER_SELECT}</select> <input type="submit" class="btnmain" name="action[chgposter_ip]" value="{L_CONFIRM}" /><!-- ENDIF -->{S_FORM_TOKEN}</form></td> </tr> <!-- ENDIF --> + + <!-- IF S_MCP_POST_ADDITIONAL_OPTS --> + <!-- EVENT mcp_post_additional_options --> + <!-- ENDIF --> + <!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST --> <tr> <td class="row1" valign="top"><b class="gen">{L_MOD_OPTIONS}</b></td> |