[ticket/13437] Add template event viewtopic_body_post_author_before/after

PHPBB3-13437
This commit is contained in:
Kailey Truscott 2015-01-02 09:48:27 -05:00
parent a92589436a
commit c61fa1aaa1
3 changed files with 20 additions and 0 deletions

View file

@ -1455,6 +1455,22 @@ viewtopic_body_poll_question_prepend
* Since: 3.1.0-b3
* Purpose: Add content directly before the poll question on the View topic screen
viewtopic_body_post_author_after
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
+ styles/subsilver2/template/viewtopic_body.html
* Since: 3.1.3-RC1
* Purpose: Add content directly after the post author on the View topic screen
viewtopic_body_post_author_before/after
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
+ styles/subsilver2/template/viewtopic_body.html
* Since: 3.1.3-RC1
* Purpose: Add content directly before the post author on the View topic screen
viewtopic_body_post_buttons_after
===
* Locations:

View file

@ -137,7 +137,9 @@
<!-- ENDIF -->
<!-- EVENT viewtopic_body_avatar_after -->
</div>
<!-- EVENT viewtopic_body_post_author_before -->
<!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
<!-- EVENT viewtopic_body_post_author_after -->
</dt>
<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd class="profile-rank">{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->

View file

@ -163,7 +163,9 @@
<a id="unread" class="anchor"<!-- IF S_UNREAD_VIEW --> data-url="{postrow.U_MINI_POST}"<!-- ENDIF -->></a>
<!-- ENDIF -->
<a name="p{postrow.POST_ID}" class="anchor"></a>
<!-- EVENT viewtopic_body_post_author_before -->
<b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b>
<!-- EVENT viewtopic_body_post_author_after -->
</td>
<td width="100%" height="25">
<table width="100%" cellspacing="0">