Code coverage for /20080809/modules/poll/poll-results.tpl.php

Line #Times calledCode
1
<?php
2
// $Id: poll-results.tpl.php,v 1.2 2007/08/07 08:39:35 goba Exp $
3
4
/**
5
 * @file poll-results-block.tpl.php
6
 * Display the poll results in a block.
7
 *
8
 * Variables available:
9
 * - $title: The title of the poll.
10
 * - $results: The results of the poll.
11
 * - $votes: The total results in the poll.
12
 * - $links: Links in the poll.
13
 * - $nid: The nid of the poll
14
 * - $cancel_form: A form to cancel the user's vote, if allowed.
15
 * - $raw_links: The raw array of links.
16
 * - $vote: The choice number of the current user's vote.
17
 *
18
 * @see template_preprocess_poll_results()
19
 */
20
?>
21
<div class="poll">
227
  <?php print $results; ?>
23
  <div class="total">
247
    <?php print t('Total votes: @votes', array('@votes' => $votes)); ?>
25
  </div>
267
  <?php if (!empty($cancel_form)): ?>
271
    <?php print $cancel_form; ?>
281
  <?php endif; ?>
29
</div>
307