mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/14005] Allow extensions control post buttons displaying for PM
PHPBB3-14005
This commit is contained in:
parent
9ab4b30739
commit
64b41f314e
2 changed files with 20 additions and 1 deletions
|
@ -1295,6 +1295,22 @@ ucp_pm_viewmessage_post_buttons_before
|
||||||
* Purpose: Add post button to private messages (next to edit, quote etc), at
|
* Purpose: Add post button to private messages (next to edit, quote etc), at
|
||||||
the start of the list.
|
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
|
ucp_pm_viewmessage_print_head_append
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
|
|
|
@ -73,7 +73,9 @@
|
||||||
<div class="postbody">
|
<div class="postbody">
|
||||||
<h3 class="first">{SUBJECT}</h3>
|
<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">
|
<ul class="post-buttons">
|
||||||
<!-- EVENT ucp_pm_viewmessage_post_buttons_before -->
|
<!-- EVENT ucp_pm_viewmessage_post_buttons_before -->
|
||||||
<!-- IF U_EDIT -->
|
<!-- IF U_EDIT -->
|
||||||
|
@ -99,6 +101,7 @@
|
||||||
<!-- EVENT ucp_pm_viewmessage_post_buttons_after -->
|
<!-- EVENT ucp_pm_viewmessage_post_buttons_after -->
|
||||||
</ul>
|
</ul>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
<!-- EVENT ucp_pm_viewmessage_post_buttons_list_after -->
|
||||||
|
|
||||||
<p class="author">
|
<p class="author">
|
||||||
<strong>{L_SENT_AT}{L_COLON}</strong> {SENT_DATE}
|
<strong>{L_SENT_AT}{L_COLON}</strong> {SENT_DATE}
|
||||||
|
|
Loading…
Add table
Reference in a new issue