mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge pull request #2273 from PayBas/ticket/12376
[ticket/12376] Add template events viewtopic_body_polls * PayBas/ticket/12376: [ticket/12376] Changed to viewtopic_body_poll_option_before and after [ticket/12376] Added viewtopic_body_poll_question_append [ticket/12376] Add template events viewtopic_body_polls
This commit is contained in:
@@ -72,13 +72,14 @@
|
||||
|
||||
<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><!-- EVENT viewtopic_body_poll_question_append --></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="{S_CONTENT_FLOW_BEGIN}">
|
||||
<table cellspacing="0" cellpadding="2" border="0">
|
||||
<!-- BEGIN poll_option -->
|
||||
<tr>
|
||||
<!-- EVENT viewtopic_body_poll_option_before -->
|
||||
<!-- IF S_CAN_VOTE -->
|
||||
<td<!-- IF poll_option.POLL_OPTION_MOST_VOTES --> class="most-votes"<!-- ENDIF -->>
|
||||
<!-- IF S_IS_MULTI_CHOICE -->
|
||||
@@ -97,6 +98,7 @@
|
||||
<td class="gensmall" valign="top"><b title="{L_POLL_VOTED_OPTION}">x</b></td>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT viewtopic_body_poll_option_after -->
|
||||
</tr>
|
||||
<!-- END poll_option -->
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user