[ticket/14786] Add mcp_forum_actions_before/after events

PHPBB3-14786
This commit is contained in:
Jakub Senko 2016-09-25 19:58:28 +02:00
parent 51d830a6d3
commit f66ca6a9cc
3 changed files with 20 additions and 0 deletions

View file

@ -794,6 +794,22 @@ mcp_ban_unban_before
* Since: 3.1.0-RC3 * Since: 3.1.0-RC3
* Purpose: Add additional fields to the unban form in MCP * Purpose: Add additional fields to the unban form in MCP
mcp_forum_actions_after
===
* Locations:
+ styles/prosilver/template/mcp_forum.html
+ styles/subsilver2/template/mcp_forum.html
* Since: 3.1.11-RC1
* Purpose: Add some information after actions fieldset
mcp_forum_actions_before
===
* Locations:
+ styles/prosilver/template/mcp_forum.html
+ styles/subsilver2/template/mcp_forum.html
* Since: 3.1.11-RC1
* Purpose: Add some information before actions fieldset
mcp_forum_topic_title_before mcp_forum_topic_title_before
=== ===
* Locations: * Locations:

View file

@ -120,6 +120,7 @@
</div> </div>
</div> </div>
<!-- EVENT mcp_forum_actions_before -->
<fieldset class="display-actions"> <fieldset class="display-actions">
<!-- IF not S_MERGE_SELECT --> <!-- IF not S_MERGE_SELECT -->
<select name="action"> <select name="action">
@ -143,6 +144,7 @@
<!-- ENDIF --> <!-- ENDIF -->
{S_FORM_TOKEN} {S_FORM_TOKEN}
</fieldset> </fieldset>
<!-- EVENT mcp_forum_actions_after -->
</form> </form>
<!-- INCLUDE mcp_footer.html --> <!-- INCLUDE mcp_footer.html -->

View file

@ -58,6 +58,7 @@
<td class="row1" colspan="8" align="center"><p class="gen">{L_NO_TOPICS}</p></td> <td class="row1" colspan="8" align="center"><p class="gen">{L_NO_TOPICS}</p></td>
</tr> </tr>
<!-- END topicrow --> <!-- END topicrow -->
<!-- EVENT mcp_forum_actions_before -->
<!-- IF not S_MERGE_SELECT --> <!-- IF not S_MERGE_SELECT -->
<tr> <tr>
<td class="cat" colspan="6" align="{S_CONTENT_FLOW_END}"> <td class="cat" colspan="6" align="{S_CONTENT_FLOW_END}">
@ -81,6 +82,7 @@
</td> </td>
</tr> </tr>
<!-- ENDIF --> <!-- ENDIF -->
<!-- EVENT mcp_forum_actions_after -->
</table> </table>
{S_FORM_TOKEN} {S_FORM_TOKEN}
</form> </form>