mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
commit
d86817ef07
5 changed files with 50 additions and 0 deletions
|
@ -434,6 +434,38 @@ memberlist_view_user_statistics_before
|
||||||
* Since: 3.1.0-a1
|
* Since: 3.1.0-a1
|
||||||
* Purpose: Add entries before the user statistics part of any user profile
|
* Purpose: Add entries before the user statistics part of any user profile
|
||||||
|
|
||||||
|
mcp_warn_post_add_warning_field_after
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/mcp_warn_post.html
|
||||||
|
+ styles/subsilver2/template/mcp_warn_post.html
|
||||||
|
* Since: 3.1.0-RC4
|
||||||
|
* Purpose: Add content during warning for a post - after add warning field.
|
||||||
|
|
||||||
|
mcp_warn_post_add_warning_field_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/mcp_warn_post.html
|
||||||
|
+ styles/subsilver2/template/mcp_warn_post.html
|
||||||
|
* Since: 3.1.0-RC4
|
||||||
|
* Purpose: Add content during warning for a post - before add warning field.
|
||||||
|
|
||||||
|
mcp_warn_user_add_warning_field_after
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/mcp_warn_user.html
|
||||||
|
+ styles/subsilver2/template/mcp_warn_user.html
|
||||||
|
* Since: 3.1.0-RC4
|
||||||
|
* Purpose: Add content during warning a user - after add warning field.
|
||||||
|
|
||||||
|
mcp_warn_user_add_warning_field_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/mcp_warn_user.html
|
||||||
|
+ styles/subsilver2/template/mcp_warn_user.html
|
||||||
|
* Since: 3.1.0-RC4
|
||||||
|
* Purpose: Add content during warning a user - before add warning field.
|
||||||
|
|
||||||
navbar_header_logged_out_content
|
navbar_header_logged_out_content
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
|
|
|
@ -44,6 +44,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- EVENT mcp_warn_post_add_warning_field_before -->
|
||||||
|
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
||||||
|
@ -64,6 +66,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- EVENT mcp_warn_post_add_warning_field_after -->
|
||||||
|
|
||||||
<fieldset class="submit-buttons">
|
<fieldset class="submit-buttons">
|
||||||
<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
<input type="submit" name="action[add_warning]" value="{L_SUBMIT}" class="button1" />
|
<input type="submit" name="action[add_warning]" value="{L_SUBMIT}" class="button1" />
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- EVENT mcp_warn_user_add_warning_field_before -->
|
||||||
|
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
||||||
|
@ -48,6 +50,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- EVENT mcp_warn_user_add_warning_field_after -->
|
||||||
|
|
||||||
<fieldset class="submit-buttons">
|
<fieldset class="submit-buttons">
|
||||||
<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
<input type="submit" name="action[add_warning]" value="{L_SUBMIT}" class="button1" />
|
<input type="submit" name="action[add_warning]" value="{L_SUBMIT}" class="button1" />
|
||||||
|
|
|
@ -35,6 +35,8 @@
|
||||||
|
|
||||||
<form method="post" name="mcp" action="{U_POST_ACTION}">
|
<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">
|
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg">
|
||||||
<tr>
|
<tr>
|
||||||
<th align="center">{L_ADD_WARNING}</th>
|
<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>
|
<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>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<!-- EVENT mcp_warn_post_add_warning_field_after -->
|
||||||
|
|
||||||
{S_FORM_TOKEN}
|
{S_FORM_TOKEN}
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,8 @@
|
||||||
|
|
||||||
<form method="post" name="mcp" action="{U_POST_ACTION}">
|
<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">
|
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg">
|
||||||
<tr>
|
<tr>
|
||||||
<th align="center">{L_ADD_WARNING}</th>
|
<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>
|
<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>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<!-- EVENT mcp_warn_user_add_warning_field_after -->
|
||||||
|
|
||||||
{S_FORM_TOKEN}
|
{S_FORM_TOKEN}
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue