root / drupal7 / modules / poll / poll-vote.tpl.php @ 73a44071
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* @file
|
5 |
* Default theme implementation to display voting form for a poll.
|
6 |
*
|
7 |
* - $choice: The radio buttons for the choices in the poll.
|
8 |
* - $title: The title of the poll.
|
9 |
* - $block: True if this is being displayed as a block.
|
10 |
* - $vote: The vote button
|
11 |
* - $rest: Anything else in the form that may have been added via
|
12 |
* form_alter hooks.
|
13 |
*
|
14 |
* @see template_preprocess_poll_vote()
|
15 |
*
|
16 |
* @ingroup themeable
|
17 |
*/
|
18 |
?>
|
19 |
<div class="poll"> |
20 |
<div class="vote-form"> |
21 |
<div class="choices"> |
22 |
<?php if ($block): ?> |
23 |
<div class="title"><?php print $title; ?></div> |
24 |
<?php endif; ?> |
25 |
<?php print $choice; ?> |
26 |
</div>
|
27 |
<?php print $vote; ?> |
28 |
</div>
|
29 |
<?php // This is the 'rest' of the form, in case items have been added. ?> |
30 |
<?php print $rest ?> |
31 |
</div>
|