From 0ed971d1290ec6ceac9bba31ba59a250d961e3f8 Mon Sep 17 00:00:00 2001 From: PayBas Date: Wed, 16 Jul 2014 18:04:54 +0200 Subject: [PATCH] [ticket/12859] Add template events ucp_pm_viewmessage_post_buttons PHPBB3-12859 --- phpBB/docs/events.md | 18 ++++++++++++++++++ .../prosilver/template/ucp_pm_viewmessage.html | 2 ++ .../template/ucp_pm_viewmessage.html | 14 +++++++++++++- 3 files changed, 33 insertions(+), 1 deletion(-) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index f1c03672c3..2fd97986f7 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -770,6 +770,24 @@ ucp_pm_viewmessage_custom_fields_before * Purpose: Add data before the custom fields on the user profile when viewing a private message +ucp_pm_viewmessage_post_buttons_after +=== +* Locations: + + styles/prosilver/template/ucp_pm_viewmessage.html + + styles/subsilver2/template/ucp_pm_viewmessage.html +* Since: 3.1.0-RC3 +* Purpose: Add post button to private messages (next to edit, quote etc), at +the end of the list. + +ucp_pm_viewmessage_post_buttons_before +=== +* Locations: + + styles/prosilver/template/ucp_pm_viewmessage.html + + styles/subsilver2/template/ucp_pm_viewmessage.html +* Since: 3.1.0-RC3 +* Purpose: Add post button to private messages (next to edit, quote etc), at +the start of the list. + ucp_pm_viewmessage_print_head_append === * Locations: diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html index 9f33bc04f7..489c1c901a 100644 --- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html +++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html @@ -67,6 +67,7 @@ diff --git a/phpBB/styles/subsilver2/template/ucp_pm_viewmessage.html b/phpBB/styles/subsilver2/template/ucp_pm_viewmessage.html index be1e27c5f3..9536b1f8c5 100644 --- a/phpBB/styles/subsilver2/template/ucp_pm_viewmessage.html +++ b/phpBB/styles/subsilver2/template/ucp_pm_viewmessage.html @@ -104,7 +104,19 @@ -
 {PROFILE_IMG} {EMAIL_IMG}  
{EDIT_IMG} {QUOTE_IMG} {REPLY_IMG} 
+ +
+  {PROFILE_IMG} + {EMAIL_IMG} +  
+
+ + {EDIT_IMG} + {QUOTE_IMG} + {REPLY_IMG} + +  
+