1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-18 22:41:28 +02:00

[ticket/12217] Add more template events to viewtopic_body.html

Add viewtopic template events before/after the posts,
after the sorting options to allow adding contents to
respective places (like advertisement and so on).

PHPBB3-12217
This commit is contained in:
rxu
2014-02-20 14:53:34 +08:00
parent e56f562d47
commit 6d9afcd077
3 changed files with 31 additions and 1 deletions

View File

@@ -127,6 +127,7 @@
</table>
<!-- BEGIN postrow -->
<!-- EVENT viewtopic_body_postrow_post_before -->
<table class="tablebg" width="100%" cellspacing="1">
<!-- IF postrow.S_FIRST_ROW -->
<tr>
@@ -338,6 +339,7 @@
<td class="spacer" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
</table>
<!-- EVENT viewtopic_body_postrow_post_after -->
<!-- END postrow -->
<!-- IF not S_IS_BOT -->
@@ -348,6 +350,8 @@
</table>
<!-- ENDIF -->
<!-- EVENT viewtopic_body_topic_actions_before -->
<table width="100%" cellspacing="1">
<tr>
<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">