/[drupal]/drupal/modules/poll/poll-results.tpl.php
ViewVC logotype

Contents of /drupal/modules/poll/poll-results.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Mon Oct 13 12:31:42 2008 UTC (13 months, 1 week ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-6, DRUPAL-7-0-UNSTABLE-7, DRUPAL-7-0-UNSTABLE-10, DRUPAL-7-0-UNSTABLE-3, DRUPAL-7-0-UNSTABLE-4, DRUPAL-7-0-UNSTABLE-5, DRUPAL-7-0-UNSTABLE-8, DRUPAL-7-0-UNSTABLE-9, HEAD
Changes since 1.2: +3 -3 lines
File MIME type: text/x-php
- Patch #320000 by lilou: unify doxygen @file documentation in tpl.
1 <?php
2 // $Id: poll-results.tpl.php,v 1.2 2007/08/07 08:39:35 goba Exp $
3
4 /**
5 * @file
6 * Default theme implementation to 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">
22 <?php print $results; ?>
23 <div class="total">
24 <?php print t('Total votes: @votes', array('@votes' => $votes)); ?>
25 </div>
26 <?php if (!empty($cancel_form)): ?>
27 <?php print $cancel_form; ?>
28 <?php endif; ?>
29 </div>

  ViewVC Help
Powered by ViewVC 1.1.2