You are here

advpoll-display-binary-form.tpl.php in Advanced Poll 6.3

advpoll-display-binary-form.tpl.php Default theme implementation to show voting form for binary polls.

$writein_choice - writein_choice element, if poll needs it. $form_id $form_submit $choice_list - choices in the poll. $footer_message - an optional message that can display below the poll.

File

advpoll-display-binary-form.tpl.php
View source
<?php

/**
 * @file advpoll-display-binary-form.tpl.php
 * Default theme implementation to show voting form for binary polls.
 *
 * $writein_choice - writein_choice element, if poll needs it.
 * $form_id
 * $form_submit
 * $choice_list - choices in the poll.
 * $footer_message - an optional message that can display below the poll.
 */
?>
<div class="poll">
  <div class="advpoll-available-choices">
    <div class="choice-header"><?php

print t('Choices');
?></div>
    <div class="vote-choices">
      <?php

print $choice_list;
?>
    </div>
    <?php

if (isset($writein_choice)) {
  ?>
    <div class="writein-choice"><?php

  print $writein_choice;
  ?></div>
    <?php

}
?>
  </div>
  <?php

print $form_submit;
?>
  <br/>
  <?php

if ($message) {
  ?><p class="message"><?php

  print $message;
  ?></p><?php

}
?>
  
  <?php

if ($footer_message) {
  ?>
  <p class="footer-message"><?php

  print $footer_message;
  ?></p>
  <?php

}
?>
</div>