Location: PHPKode > projects > YAXOO - Yet Another XOOps > XOOPS-2.0.13.2/htdocs/modules/xoopspoll/templates/xoopspoll_view.html
<form action="<{$poll.action}>" method="post">
  <table width="100%" class="outer" cellspacing="1">
    <tr>
      <th align="center" colspan="2"><input type="hidden" name="poll_id" value="<{$poll.pollId}>" /><{$poll.question}></th>
    </tr>

    <{foreach item=option from=$poll.options}>
	<tr>
      <td class="even" align="left" width="2%"><{$option.input}></td>
      <td class="odd" align="left" width="98%"><{$option.text}></td>
    </tr>
    <{/foreach}>

	<tr>
      <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>
    </tr>
  </table>
</form>
Return current item: YAXOO - Yet Another XOOps