diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2014-07-16 21:51:28 +0200 | 
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2014-07-16 21:51:28 +0200 | 
| commit | 9a369a9e1424be9109ea686cb24c7407b79c2067 (patch) | |
| tree | b1ef4d1477eef12a2263ca37b6b4e09d380c49d5 | |
| parent | cd5fbd52c21fbe855622ce96b91e7b8e54fddde0 (diff) | |
| parent | 0ed971d1290ec6ceac9bba31ba59a250d961e3f8 (diff) | |
| download | forums-9a369a9e1424be9109ea686cb24c7407b79c2067.tar forums-9a369a9e1424be9109ea686cb24c7407b79c2067.tar.gz forums-9a369a9e1424be9109ea686cb24c7407b79c2067.tar.bz2 forums-9a369a9e1424be9109ea686cb24c7407b79c2067.tar.xz forums-9a369a9e1424be9109ea686cb24c7407b79c2067.zip | |
Merge pull request #2743 from PayBas/ticket/12859
[ticket/12859] Add template events ucp_pm_viewmessage_post_buttons
* PayBas/ticket/12859:
  [ticket/12859] Add template events ucp_pm_viewmessage_post_buttons
| -rw-r--r-- | phpBB/docs/events.md | 18 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/ucp_pm_viewmessage.html | 2 | ||||
| -rw-r--r-- | phpBB/styles/subsilver2/template/ucp_pm_viewmessage.html | 14 | 
3 files changed, 33 insertions, 1 deletions
| 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 @@  		<!-- IF U_DELETE or U_EDIT or U_QUOTE or U_REPORT -->  		<ul class="post-buttons"> +			<!-- EVENT ucp_pm_viewmessage_post_buttons_before -->  			<!-- IF U_EDIT -->  				<li>  					<a href="{U_EDIT}" title="{L_POST_EDIT_PM}" class="button icon-button edit-icon"><span>{L_POST_EDIT_PM}</span></a> @@ -87,6 +88,7 @@  					<a href="{U_QUOTE}" title="{L_POST_QUOTE_PM}" class="button icon-button quote-icon"><span>{L_POST_QUOTE_PM}</span></a>  				</li>  			<!-- ENDIF --> +			<!-- EVENT ucp_pm_viewmessage_post_buttons_after -->  		</ul>  		<!-- ENDIF --> 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 @@  </tr>  <tr class="row1"> -	<td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- IF U_MESSAGE_AUTHOR --><a href="{U_MESSAGE_AUTHOR}" class="imageset">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF U_EMAIL --><a href="{U_EMAIL}" class="imageset">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF U_EDIT --><a href="{U_EDIT}" class="imageset">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF U_QUOTE --><a href="{U_QUOTE}" class="imageset">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- IF U_POST_REPLY_PM --><a href="{U_POST_REPLY_PM}" class="imageset">{REPLY_IMG}</a><!-- ENDIF --> </div></td> +	<td> +		<div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> +			 <!-- IF U_MESSAGE_AUTHOR --><a href="{U_MESSAGE_AUTHOR}" class="imageset">{PROFILE_IMG}</a> <!-- ENDIF --> +			<!-- IF U_EMAIL --><a href="{U_EMAIL}" class="imageset">{EMAIL_IMG}</a> <!-- ENDIF --> +		 </div> +		<div class="gensmall" style="float: {S_CONTENT_FLOW_END};"> +			<!-- EVENT ucp_pm_viewmessage_post_buttons_before --> +			<!-- IF U_EDIT --><a href="{U_EDIT}" class="imageset">{EDIT_IMG}</a> <!-- ENDIF --> +			<!-- IF U_QUOTE --><a href="{U_QUOTE}" class="imageset">{QUOTE_IMG}</a> <!-- ENDIF --> +			<!-- IF U_POST_REPLY_PM --><a href="{U_POST_REPLY_PM}" class="imageset">{REPLY_IMG}</a><!-- ENDIF --> +			<!-- EVENT ucp_pm_viewmessage_post_buttons_after --> +		 </div> +	</td>  </tr>  <tr> | 
