aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPayBas <contact@paybas.com>2014-04-09 17:24:34 +0200
committerPayBas <contact@paybas.com>2014-05-03 17:43:06 +0200
commit21c11c7b2483c04bf94fa0df9b7fa49eff393bd4 (patch)
treeed8cc53da92714df2d4bc56209493fa04b1574df
parent4e79764aca4b569bb4f651d6d365bf102e9e4d54 (diff)
downloadforums-21c11c7b2483c04bf94fa0df9b7fa49eff393bd4.tar
forums-21c11c7b2483c04bf94fa0df9b7fa49eff393bd4.tar.gz
forums-21c11c7b2483c04bf94fa0df9b7fa49eff393bd4.tar.bz2
forums-21c11c7b2483c04bf94fa0df9b7fa49eff393bd4.tar.xz
forums-21c11c7b2483c04bf94fa0df9b7fa49eff393bd4.zip
[ticket/12376] Added viewtopic_body_poll_question_append
PHPBB3-12376
-rw-r--r--phpBB/docs/events.md8
-rw-r--r--phpBB/styles/prosilver/template/viewtopic_body.html2
-rw-r--r--phpBB/styles/subsilver2/template/viewtopic_body.html2
3 files changed, 10 insertions, 2 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md
index 68f4afad21..ae421260e8 100644
--- a/phpBB/docs/events.md
+++ b/phpBB/docs/events.md
@@ -711,6 +711,14 @@ viewtopic_body_poll_fieldset_prepend
* Purpose: Add content after the items in the polls fieldset
the list.
+viewtopic_body_poll_question_append
+===
+* Locations:
+ + styles/prosilver/template/viewtopic_body.html
+ + styles/subsilver2/template/viewtopic_body.html
+* Since: 3.1.0-b3
+* Purpose: Add content directly after the poll question on the View topic screen
+
viewtopic_body_poll_question_prepend
===
* Locations:
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html
index 5db95e7879..2529374089 100644
--- a/phpBB/styles/prosilver/template/viewtopic_body.html
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html
@@ -67,7 +67,7 @@
<div class="inner">
<div class="content">
- <h2 class="poll-title"><!-- EVENT viewtopic_body_poll_question_prepend -->{POLL_QUESTION}</h2>
+ <h2 class="poll-title"><!-- EVENT viewtopic_body_poll_question_prepend -->{POLL_QUESTION}<!-- EVENT viewtopic_body_poll_question_append --></h2>
<p class="author">{L_POLL_LENGTH}<!-- IF S_CAN_VOTE and L_POLL_LENGTH --><br /><!-- ENDIF --><!-- IF S_CAN_VOTE --><span class="poll_max_votes">{L_MAX_VOTES}</span><!-- ENDIF --></p>
<fieldset class="polls">
diff --git a/phpBB/styles/subsilver2/template/viewtopic_body.html b/phpBB/styles/subsilver2/template/viewtopic_body.html
index 6e6ca488ca..5e6c243a48 100644
--- a/phpBB/styles/subsilver2/template/viewtopic_body.html
+++ b/phpBB/styles/subsilver2/template/viewtopic_body.html
@@ -72,7 +72,7 @@
<table cellspacing="0" cellpadding="4" border="0" align="center">
<tr>
- <td align="center"><span class="gen"><!-- EVENT viewtopic_body_poll_question_prepend --><b>{POLL_QUESTION}</b></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td>
+ <td align="center"><span class="gen"><!-- EVENT viewtopic_body_poll_question_prepend --><b>{POLL_QUESTION}</b><!-- EVENT viewtopic_body_poll_question_append --></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td>
</tr>
<tr>
<td align="{S_CONTENT_FLOW_BEGIN}">