| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @file poll-results-block.tpl.php 5 * 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. 15 * - $vote: The choice number of the current user's vote. 16 * 17 * @see template_preprocess_poll_results() 18 */ 19 ?> 20 <div class="poll"> 21 <?php print $results; ?> 22 <div class="total"> 23 <?php print t('Total votes: @votes', array('@votes' => $votes)); ?> 24 </div> 25 <?php if (!empty($cancel_form)): ?> 26 <?php print $cancel_form; ?> 27 <?php endif; ?> 28 </div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |