home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / CMS / drupal-6.0.exe / drupal-6.0 / modules / poll / poll-vote.tpl.php < prev    next >
Encoding:
PHP Script  |  2007-08-07  |  814 b   |  31 lines

  1. <?php
  2. // $Id: poll-vote.tpl.php,v 1.2 2007/08/07 08:39:35 goba Exp $
  3.  
  4. /**
  5.  * @file poll-vote.tpl.php
  6.  * 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>
  31.