Issue #1315616 by amateescu: Follow up for adding a definition list for the poll results.

8.0.x
catch 2012-03-14 13:11:26 +09:00
parent 9f205a9767
commit 3692eb3d5c
1 changed files with 2 additions and 2 deletions

View File

@ -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,