aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorPayBas <contact@paybas.com>2014-04-09 14:15:57 +0200
committerPayBas <contact@paybas.com>2014-05-03 17:42:13 +0200
commit4e79764aca4b569bb4f651d6d365bf102e9e4d54 (patch)
treedb9cb5fa7313a5986b0e4afc3f5bd8d386e63221 /phpBB/styles
parentb60108dc78af581fe5327fce4037731555203320 (diff)
downloadforums-4e79764aca4b569bb4f651d6d365bf102e9e4d54.tar
forums-4e79764aca4b569bb4f651d6d365bf102e9e4d54.tar.gz
forums-4e79764aca4b569bb4f651d6d365bf102e9e4d54.tar.bz2
forums-4e79764aca4b569bb4f651d6d365bf102e9e4d54.tar.xz
forums-4e79764aca4b569bb4f651d6d365bf102e9e4d54.zip
[ticket/12376] Add template events viewtopic_body_polls
PHPBB3-12376
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/template/viewtopic_body.html6
-rw-r--r--phpBB/styles/subsilver2/template/viewtopic_body.html4
2 files changed, 8 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html
index 8912382c48..5db95e7879 100644
--- a/phpBB/styles/prosilver/template/viewtopic_body.html
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html
@@ -67,10 +67,12 @@
<div class="inner">
<div class="content">
- <h2 class="poll-title">{POLL_QUESTION}</h2>
+ <h2 class="poll-title"><!-- EVENT viewtopic_body_poll_question_prepend -->{POLL_QUESTION}</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">
+ <!-- EVENT viewtopic_body_poll_fieldset_prepend -->
+
<!-- BEGIN poll_option -->
<dl class="<!-- IF poll_option.POLL_OPTION_VOTED -->voted<!-- ENDIF --><!-- IF poll_option.POLL_OPTION_MOST_VOTES --> most-votes<!-- ENDIF -->"<!-- IF poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF --> data-poll-option-id="{poll_option.POLL_OPTION_ID}">
<dt><!-- IF S_CAN_VOTE --><label for="vote_{poll_option.POLL_OPTION_ID}">{poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt>
@@ -98,6 +100,8 @@
<dd class="resultbar"><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></dd>
</dl>
<!-- ENDIF -->
+
+ <!-- EVENT viewtopic_body_poll_fieldset_append -->
</fieldset>
<div class="vote-submitted hidden">{L_VOTE_SUBMITTED}</div>
</div>
diff --git a/phpBB/styles/subsilver2/template/viewtopic_body.html b/phpBB/styles/subsilver2/template/viewtopic_body.html
index 307ed0f391..6e6ca488ca 100644
--- a/phpBB/styles/subsilver2/template/viewtopic_body.html
+++ b/phpBB/styles/subsilver2/template/viewtopic_body.html
@@ -72,10 +72,11 @@
<table cellspacing="0" cellpadding="4" border="0" align="center">
<tr>
- <td align="center"><span class="gen"><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></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td>
</tr>
<tr>
<td align="{S_CONTENT_FLOW_BEGIN}">
+ <!-- EVENT viewtopic_body_poll_fieldset_prepend -->
<table cellspacing="0" cellpadding="2" border="0">
<!-- BEGIN poll_option -->
<tr>
@@ -100,6 +101,7 @@
</tr>
<!-- END poll_option -->
</table>
+ <!-- EVENT viewtopic_body_poll_fieldset_append -->
</td>
</tr>
<!-- IF S_CAN_VOTE -->