1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

[ticket/14005] Allow extensions control post buttons displaying for PM

PHPBB3-14005
This commit is contained in:
rxu 2015-07-17 00:55:16 +07:00
parent 9ab4b30739
commit 64b41f314e
2 changed files with 20 additions and 1 deletions

View File

@ -1295,6 +1295,22 @@ ucp_pm_viewmessage_post_buttons_before
* Purpose: Add post button to private messages (next to edit, quote etc), at
the start of the list.
ucp_pm_viewmessage_post_buttons_list_after
===
* Locations:
+ styles/prosilver/template/ucp_pm_viewmessage.html
* Since: 3.1.6-RC1
* Purpose: Add post button custom list to private messages (next to edit, quote etc),
after the original list.
ucp_pm_viewmessage_post_buttons_list_before
===
* Locations:
+ styles/prosilver/template/ucp_pm_viewmessage.html
* Since: 3.1.6-RC1
* Purpose: Add post button custom list to private messages (next to edit, quote etc),
before the original list.
ucp_pm_viewmessage_print_head_append
===
* Locations:

View File

@ -73,7 +73,9 @@
<div class="postbody">
<h3 class="first">{SUBJECT}</h3>
<!-- IF U_DELETE or U_EDIT or U_QUOTE or U_REPORT -->
<!-- DEFINE $SHOW_PM_POST_BUTTONS = (U_EDIT or U_DELETE or U_REPORT or U_QUOTE) -->
<!-- EVENT ucp_pm_viewmessage_post_buttons_list_before -->
<!-- IF $SHOW_PM_POST_BUTTONS -->
<ul class="post-buttons">
<!-- EVENT ucp_pm_viewmessage_post_buttons_before -->
<!-- IF U_EDIT -->
@ -99,6 +101,7 @@
<!-- EVENT ucp_pm_viewmessage_post_buttons_after -->
</ul>
<!-- ENDIF -->
<!-- EVENT ucp_pm_viewmessage_post_buttons_list_after -->
<p class="author">
<strong>{L_SENT_AT}{L_COLON}</strong> {SENT_DATE}