stableversion-3.0
Last change
on this file since 8a8efa8 was
b354002,
checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago
|
se agrego el directorio del cord
|
-
Propiedad mode establecida a
100755
|
File size:
696 octetos
|
Línea | |
---|
1 | <?php |
---|
2 | |
---|
3 | /** |
---|
4 | * @file poll-bar-block.tpl.php |
---|
5 | * Display the bar for a single choice in a poll |
---|
6 | * |
---|
7 | * Variables available: |
---|
8 | * - $title: The title of the poll. |
---|
9 | * - $votes: The number of votes for this choice |
---|
10 | * - $total_votes: The number of votes for this choice |
---|
11 | * - $percentage: The percentage of votes for this choice. |
---|
12 | * - $vote: The choice number of the current user's vote. |
---|
13 | * - $voted: Set to TRUE if the user voted for this choice. |
---|
14 | * |
---|
15 | * @see template_preprocess_poll_bar() |
---|
16 | */ |
---|
17 | ?> |
---|
18 | |
---|
19 | <div class="text"><?php print $title; ?></div> |
---|
20 | <div class="bar"> |
---|
21 | <div style="width: <?php print $percentage; ?>%;" class="foreground"></div> |
---|
22 | </div> |
---|
23 | <div class="percent"> |
---|
24 | <?php print $percentage; ?>% |
---|
25 | </div> |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.