Issue #1315616 by amateescu: Follow up for adding a definition list for the poll results.
parent
9f205a9767
commit
3692eb3d5c
|
@ -826,8 +826,8 @@ function poll_view_results($node, $view_mode, $block = FALSE) {
|
|||
|
||||
$poll_results[] = array(
|
||||
'#theme' => 'meter',
|
||||
'#prefix' => '<dt class="choice-title">' . check_plain($choice['chtext']) . '</dt>' . PHP_EOL . '<dd class="choice-result">',
|
||||
'#suffix' => '</dd>' . PHP_EOL,
|
||||
'#prefix' => '<dt class="choice-title">' . check_plain($choice['chtext']) . "</dt>\n" . '<dd class="choice-result">',
|
||||
'#suffix' => "</dd>\n",
|
||||
'#display_value' => t('!percentage%', array('!percentage' => $percentage)) . $display_votes,
|
||||
'#min' => 0,
|
||||
'#max' => $total_votes,
|
||||
|
|
Loading…
Reference in New Issue