aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-08-22 10:32:09 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-08-22 10:32:09 +0200
commitb09e1ad26df8d92940985741eb8137ec947b5c4d (patch)
treef96f5bdc43d69a4e625c5765c3f30865be9d31ac /phpBB
parent583068da9d071d3350bddad8b411e8430083a174 (diff)
parent04b0ba9f6db470fdd4a0200e307b6409e3b780df (diff)
downloadforums-b09e1ad26df8d92940985741eb8137ec947b5c4d.tar
forums-b09e1ad26df8d92940985741eb8137ec947b5c4d.tar.gz
forums-b09e1ad26df8d92940985741eb8137ec947b5c4d.tar.bz2
forums-b09e1ad26df8d92940985741eb8137ec947b5c4d.tar.xz
forums-b09e1ad26df8d92940985741eb8137ec947b5c4d.zip
Merge pull request #3852 from marc1706/ticket/14068
[ticket/14068] Add template events before and after poll panel in viewtopic
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/docs/events.md16
-rw-r--r--phpBB/styles/prosilver/template/viewtopic_body.html4
-rw-r--r--phpBB/styles/subsilver2/template/viewtopic_body.html2
3 files changed, 22 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index 0ad3f67c03..338bc9f1e9 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -1922,6 +1922,22 @@ viewtopic_body_footer_before
and quick reply, directly before the jumpbox in Prosilver, breadcrumbs in
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
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html
index d2e8b08525..87a9e95dce 100644
--- a/phpBB/styles/prosilver/template/viewtopic_body.html
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html
@@ -68,6 +68,8 @@
<!-- EVENT viewtopic_body_pagination_top_after -->
</div>
+<!-- EVENT viewtopic_body_poll_before -->
+
<!-- IF S_HAS_POLL -->
<form method="post" action="{S_POLL_ACTION}" data-ajax="vote_poll" class="topic_poll">
@@ -121,6 +123,8 @@
<hr />
<!-- ENDIF -->
+<!-- EVENT viewtopic_body_poll_after -->
+
<!-- BEGIN postrow -->
<!-- EVENT viewtopic_body_postrow_post_before -->
<!-- IF postrow.S_FIRST_UNREAD -->
diff --git a/phpBB/styles/subsilver2/template/viewtopic_body.html b/phpBB/styles/subsilver2/template/viewtopic_body.html
index f679d25853..ca0377d6b0 100644
--- a/phpBB/styles/subsilver2/template/viewtopic_body.html
+++ b/phpBB/styles/subsilver2/template/viewtopic_body.html
@@ -68,6 +68,7 @@
</table>
</td>
</tr>
+<!-- EVENT viewtopic_body_poll_before -->
<!-- IF S_HAS_POLL -->
<tr>
<td class="row2" colspan="2" align="center"><br clear="all" />
@@ -130,6 +131,7 @@
</td>
</tr>
<!-- ENDIF -->
+<!-- EVENT viewtopic_body_poll_after -->
</table>
<!-- BEGIN postrow -->