first import

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2012-10-05 13:50:00 +02:00
commit 95098773d5
1051 changed files with 309382 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
/**
* @file
* Default theme implementation to display the bar for a single choice in a
* poll.
*
* Variables available:
* - $title: The title of the poll.
* - $votes: The number of votes for this choice
* - $total_votes: The number of votes for this choice
* - $percentage: The percentage of votes for this choice.
* - $vote: The choice number of the current user's vote.
* - $voted: Set to TRUE if the user voted for this choice.
*
* @see template_preprocess_poll_bar()
*/
?>
<div class="text"><?php print $title; ?></div>
<div class="bar">
<div style="width: <?php print $percentage; ?>%;" class="foreground"></div>
</div>
<div class="percent">
<?php print $percentage; ?>%
</div>