mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
[ticket/14005] Allow extensions control post buttons displaying for PM
PHPBB3-14005
This commit is contained in:
@@ -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}
|
||||
|
Reference in New Issue
Block a user