source: temp/test-xoops.ec-cube.net/html/modules/xoopspoll/templates/xoopspoll_view.html @ 405

Revision 405, 698 bytes checked in by root, 20 years ago (diff)
Line 
1<form action="<{$poll.action}>" method="post">
2  <table width="100%" class="outer" cellspacing="1">
3    <tr>
4      <th align="center" colspan="2"><input type="hidden" name="poll_id" value="<{$poll.pollId}>" /><{$poll.question}></th>
5    </tr>
6
7    <{foreach item=option from=$poll.options}>
8    <tr>
9      <td class="even" align="left" width="2%"><{$option.input}></td>
10      <td class="odd" align="left" width="98%"><{$option.text}></td>
11    </tr>
12    <{/foreach}>
13
14    <tr>
15      <td align="center" colspan="2" class="foot"><input type="submit" value="<{$lang_vote}>" />&nbsp;<input type="button" value="<{$lang_results}>" onclick="location='<{$poll.viewresults}>'" /></td>
16    </tr>
17  </table>
18</form>
Note: See TracBrowser for help on using the repository browser.