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

Contents of /drupal/modules/poll/poll-results-block.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, 2 weeks 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-block.tpl.php,v 1.2 2007/08/02 20:08:53 dries Exp $
3 /**
4 * @file
5 * Default theme implementation to display the poll results in a block.
6 *
7 * Variables available:
8 * - $title: The title of the poll.
9 * - $results: The results of the poll.
10 * - $votes: The total results in the poll.
11 * - $links: Links in the poll.
12 * - $nid: The nid of the poll
13 * - $cancel_form: A form to cancel the user's vote, if allowed.
14 * - $raw_links: The raw array of links. Should be run through theme('links')
15 * if used.
16 * - $vote: The choice number of the current user's vote.
17 *
18 * @see template_preprocess_poll_results()
19 */
20 ?>
21
22 <div class="poll">
23 <div class="title"><?php print $title ?></div>
24 <?php print $results ?>
25 <div class="total">
26 <?php print t('Total votes: @votes', array('@votes' => $votes)); ?>
27 </div>
28 </div>
29 <div class="links"><?php print $links; ?></div>

  ViewVC Help
Powered by ViewVC 1.1.2