annotate modules/poll/poll-vote.tpl.php @ 1:c1f4ac30525a 6.0

Drupal 6.0
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:28:28 +0100
parents
children
rev   line source
webmaster@1 1 <?php
webmaster@1 2 // $Id: poll-vote.tpl.php,v 1.2 2007/08/07 08:39:35 goba Exp $
webmaster@1 3
webmaster@1 4 /**
webmaster@1 5 * @file poll-vote.tpl.php
webmaster@1 6 * Voting form for a poll.
webmaster@1 7 *
webmaster@1 8 * - $choice: The radio buttons for the choices in the poll.
webmaster@1 9 * - $title: The title of the poll.
webmaster@1 10 * - $block: True if this is being displayed as a block.
webmaster@1 11 * - $vote: The vote button
webmaster@1 12 * - $rest: Anything else in the form that may have been added via
webmaster@1 13 * form_alter hooks.
webmaster@1 14 *
webmaster@1 15 * @see template_preprocess_poll_vote()
webmaster@1 16 */
webmaster@1 17 ?>
webmaster@1 18 <div class="poll">
webmaster@1 19 <div class="vote-form">
webmaster@1 20 <div class="choices">
webmaster@1 21 <?php if ($block): ?>
webmaster@1 22 <div class="title"><?php print $title; ?>:</div>
webmaster@1 23 <?php endif; ?>
webmaster@1 24 <?php print $choice; ?>
webmaster@1 25 </div>
webmaster@1 26 <?php print $vote; ?>
webmaster@1 27 </div>
webmaster@1 28 <?php // This is the 'rest' of the form, in case items have been added. ?>
webmaster@1 29 <?php print $rest ?>
webmaster@1 30 </div>