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

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

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


Revision 1.4 - (show annotations) (download) (as text)
Sat Jun 13 19:38:42 2009 UTC (5 months, 1 week ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-10, DRUPAL-7-0-UNSTABLE-8, DRUPAL-7-0-UNSTABLE-9, HEAD
Changes since 1.3: +2 -2 lines
File MIME type: text/x-php
- Patch #478598 by pp: remove colon.
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">
21 <?php if ($block): ?>
22 <div class="title"><?php print $title; ?></div>
23 <?php endif; ?>
24 <?php print $choice; ?>
25 </div>
26 <?php print $vote; ?>
27 </div>
28 <?php // This is the 'rest' of the form, in case items have been added. ?>
29 <?php print $rest ?>
30 </div>

  ViewVC Help
Powered by ViewVC 1.1.2