mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
Merge pull request #3302 from rxu/ticket/13512
[ticket/13512] Add template events before/after the post details
This commit is contained in:
commit
b1336ae016
3 changed files with 20 additions and 0 deletions
|
@ -1531,6 +1531,22 @@ viewtopic_body_postrow_post_content_footer
|
||||||
* Since: 3.1.0-RC4
|
* Since: 3.1.0-RC4
|
||||||
* Purpose: Add data at the end of the posts.
|
* Purpose: Add data at the end of the posts.
|
||||||
|
|
||||||
|
viewtopic_body_postrow_post_details_after
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/viewtopic_body.html
|
||||||
|
+ styles/subsilver2/template/viewtopic_body.html
|
||||||
|
* Since: 3.1.4-RC1
|
||||||
|
* Purpose: Add content after the post details
|
||||||
|
|
||||||
|
viewtopic_body_postrow_post_details_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/viewtopic_body.html
|
||||||
|
+ styles/subsilver2/template/viewtopic_body.html
|
||||||
|
* Since: 3.1.4-RC1
|
||||||
|
* Purpose: Add content before the post details
|
||||||
|
|
||||||
viewtopic_body_postrow_post_notices_after
|
viewtopic_body_postrow_post_notices_after
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
|
|
|
@ -249,7 +249,9 @@
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- EVENT viewtopic_body_postrow_post_details_before -->
|
||||||
<p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF --><span class="responsive-hide">{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> » </span>{postrow.POST_DATE} </p>
|
<p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF --><span class="responsive-hide">{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> » </span>{postrow.POST_DATE} </p>
|
||||||
|
<!-- EVENT viewtopic_body_postrow_post_details_after -->
|
||||||
|
|
||||||
<!-- IF postrow.S_POST_UNAPPROVED -->
|
<!-- IF postrow.S_POST_UNAPPROVED -->
|
||||||
<form method="post" class="mcp_approve" action="{postrow.U_APPROVE_ACTION}">
|
<form method="post" class="mcp_approve" action="{postrow.U_APPROVE_ACTION}">
|
||||||
|
|
|
@ -167,6 +167,7 @@
|
||||||
<b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b>
|
<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 -->
|
<!-- EVENT viewtopic_body_post_author_after -->
|
||||||
</td>
|
</td>
|
||||||
|
<!-- EVENT viewtopic_body_postrow_post_details_before -->
|
||||||
<td width="100%" height="25">
|
<td width="100%" height="25">
|
||||||
<table width="100%" cellspacing="0">
|
<table width="100%" cellspacing="0">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -177,6 +178,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
<!-- EVENT viewtopic_body_postrow_post_details_after -->
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue