/
pollblock.thtml
33 lines (28 loc) · 1.16 KB
/
pollblock.thtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{# begin {templatelocation} #}
<span class="floatright">{edit_icon}</span><div class="poll-topic">{poll_topic}</div>
<div class="poll-topic_description">{poll_topic_description}</div>
<form action="{poll_vote_url}" name="Vote" method="post" class="uk-form">
<div>
<input type="hidden" name="pid" value="{poll_id}"{xhtml}>
{poll_questions}
<span class="pluginTinyText">{poll_notification}</span><br{xhtml}>
<button type="submit" value="{lang_vote}" class="uk-button">{lang_vote}</button>
{poll_results}
</div>
</form>
<span class="pluginTinyText">
<a href="{site_url}/polls/index.php">{lang_polltopics}</a> | {num_votes} {lang_voters} {poll_comments}
</span>
<!-- BEGIN poll_questions -->
<div class="poll-questions">
<p class="poll-question">{lang_question}{lang_question_number}{poll_question}</p>
<p class="poll-description">{poll_description}</p>
<ul>
{poll_answers}
</ul>
</div>
<!-- END poll_questions -->
<!-- BEGIN poll_answer -->
<li><input type="{input_type}" name="aid[{question_id}][]" value="{answer_id}"{selected}{xhtml}> {answer_text}</li>
<!-- END poll_answer -->
{# end {templatelocation} #}