1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-09 07:58:56 +02:00

[ticket/14068] Add template events before and after poll panel

In viewtopic.

PHPBB3-14068
This commit is contained in:
javiexin 2015-08-05 14:27:22 +02:00 committed by Marc Alexander
parent ccd1e1eebb
commit 04b0ba9f6d
3 changed files with 22 additions and 0 deletions

View File

@ -1906,6 +1906,22 @@ viewtopic_body_footer_before
and quick reply, directly before the jumpbox in Prosilver, breadcrumbs in and quick reply, directly before the jumpbox in Prosilver, breadcrumbs in
Subsilver2. Subsilver2.
viewtopic_body_poll_after
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
+ styles/subsilver2/template/viewtopic_body.html
* Since: 3.1.6-RC1
* Purpose: Add content after the poll panel.
viewtopic_body_poll_before
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
+ styles/subsilver2/template/viewtopic_body.html
* Since: 3.1.6-RC1
* Purpose: Add content before the poll panel.
viewtopic_body_poll_option_after viewtopic_body_poll_option_after
=== ===
* Locations: * Locations:

View File

@ -68,6 +68,8 @@
<!-- EVENT viewtopic_body_pagination_top_after --> <!-- EVENT viewtopic_body_pagination_top_after -->
</div> </div>
<!-- EVENT viewtopic_body_poll_before -->
<!-- IF S_HAS_POLL --> <!-- IF S_HAS_POLL -->
<form method="post" action="{S_POLL_ACTION}" data-ajax="vote_poll" class="topic_poll"> <form method="post" action="{S_POLL_ACTION}" data-ajax="vote_poll" class="topic_poll">
@ -121,6 +123,8 @@
<hr /> <hr />
<!-- ENDIF --> <!-- ENDIF -->
<!-- EVENT viewtopic_body_poll_after -->
<!-- BEGIN postrow --> <!-- BEGIN postrow -->
<!-- EVENT viewtopic_body_postrow_post_before --> <!-- EVENT viewtopic_body_postrow_post_before -->
<!-- IF postrow.S_FIRST_UNREAD --> <!-- IF postrow.S_FIRST_UNREAD -->

View File

@ -68,6 +68,7 @@
</table> </table>
</td> </td>
</tr> </tr>
<!-- EVENT viewtopic_body_poll_before -->
<!-- IF S_HAS_POLL --> <!-- IF S_HAS_POLL -->
<tr> <tr>
<td class="row2" colspan="2" align="center"><br clear="all" /> <td class="row2" colspan="2" align="center"><br clear="all" />
@ -130,6 +131,7 @@
</td> </td>
</tr> </tr>
<!-- ENDIF --> <!-- ENDIF -->
<!-- EVENT viewtopic_body_poll_after -->
</table> </table>
<!-- BEGIN postrow --> <!-- BEGIN postrow -->