aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2015-07-17 00:55:16 +0700
committerrxu <rxu@mail.ru>2015-07-17 00:55:16 +0700
commit64b41f314ecdf56fc64e846ac88db8c4cf98a3db (patch)
tree922e84056bf7745e15b2ca7955cdb5201b91932b /phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
parent9ab4b3073948ac488a7486f7201efe92bd77f447 (diff)
downloadforums-64b41f314ecdf56fc64e846ac88db8c4cf98a3db.tar
forums-64b41f314ecdf56fc64e846ac88db8c4cf98a3db.tar.gz
forums-64b41f314ecdf56fc64e846ac88db8c4cf98a3db.tar.bz2
forums-64b41f314ecdf56fc64e846ac88db8c4cf98a3db.tar.xz
forums-64b41f314ecdf56fc64e846ac88db8c4cf98a3db.zip
[ticket/14005] Allow extensions control post buttons displaying for PM
PHPBB3-14005
Diffstat (limited to 'phpBB/styles/prosilver/template/ucp_pm_viewmessage.html')
-rw-r--r--phpBB/styles/prosilver/template/ucp_pm_viewmessage.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
index 02c5f5b1a5..4f4a663dd5 100644
--- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
+++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
@@ -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}