[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/modules/poll/ -> poll-vote.tpl.php (source)

   1  <?php
   2  
   3  /**
   4   * @file poll-vote.tpl.php
   5   * Voting form for a poll.
   6   *
   7   * - $choice: The radio buttons for the choices in the poll.
   8   * - $title: The title of the poll.
   9   * - $block: True if this is being displayed as a block.
  10   * - $vote: The vote button
  11   * - $rest: Anything else in the form that may have been added via
  12   *   form_alter hooks.
  13   *
  14   * @see template_preprocess_poll_vote()
  15   */
  16  ?>
  17  <div class="poll">
  18    <div class="vote-form">
  19      <div class="choices">
  20        <?php if ($block): ?>
  21          <div class="title"><?php print $title; ?>:</div>
  22        <?php endif; ?>
  23        <?php print $choice; ?>
  24      </div>
  25      <?php print $vote; ?>
  26    </div>
  27    <?php // This is the 'rest' of the form, in case items have been added. ?>
  28    <?php print $rest ?>
  29  </div>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7