Code coverage for /20081101/modules/poll/poll-vote.tpl.php

Line #Times calledCode
1
<?php
2
// $Id: poll-vote.tpl.php,v 1.3 2008/10/13 12:31:42 dries Exp $
3
4
/**
5
 * @file
6
 * Default theme implementation to display voting form for a poll.
7
 *
8
 * - $choice: The radio buttons for the choices in the poll.
9
 * - $title: The title of the poll.
10
 * - $block: True if this is being displayed as a block.
11
 * - $vote: The vote button
12
 * - $rest: Anything else in the form that may have been added via
13
 *   form_alter hooks.
14
 *
15
 * @see template_preprocess_poll_vote()
16
 */
17
?>
18
<div class="poll">
19
  <div class="vote-form">
20
    <div class="choices">
211
      <?php if ($block): ?>
220
        <div class="title"><?php print $title; ?>:</div>
230
      <?php endif; ?>
241
      <?php print $choice; ?>
25
    </div>
261
    <?php print $vote; ?>
27
  </div>
281
  <?php // This is the 'rest' of the form, in case items have been added.
?>
291
  <?php print $rest ?>
30
</div>
311