mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
Merge pull request #2887 from Pico/ticket/12991
[ticket/12991] Have events after/before "add warning" field - user and post
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
|
||||
<form method="post" name="mcp" action="{U_POST_ACTION}">
|
||||
|
||||
<!-- EVENT mcp_warn_post_add_warning_field_before -->
|
||||
|
||||
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg">
|
||||
<tr>
|
||||
<th align="center">{L_ADD_WARNING}</th>
|
||||
@@ -54,6 +56,9 @@
|
||||
<td class="cat" align="center"><input class="btnmain" type="submit" name="action[add_warning]" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-- EVENT mcp_warn_post_add_warning_field_after -->
|
||||
|
||||
{S_FORM_TOKEN}
|
||||
</form>
|
||||
|
||||
|
@@ -48,6 +48,8 @@
|
||||
|
||||
<form method="post" name="mcp" action="{U_POST_ACTION}">
|
||||
|
||||
<!-- EVENT mcp_warn_user_add_warning_field_before -->
|
||||
|
||||
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg">
|
||||
<tr>
|
||||
<th align="center">{L_ADD_WARNING}</th>
|
||||
@@ -67,6 +69,9 @@
|
||||
<td class="cat" align="center"><input class="btnmain" type="submit" name="action[add_warning]" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-- EVENT mcp_warn_user_add_warning_field_after -->
|
||||
|
||||
{S_FORM_TOKEN}
|
||||
</form>
|
||||
|
||||
|
Reference in New Issue
Block a user