mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
tiny addition
git-svn-id: file:///svn/phpbb/trunk@5072 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
e4be0ca799
commit
4e7d5e88c6
1 changed files with 1 additions and 0 deletions
|
@ -666,6 +666,7 @@ if (!empty($poll_start))
|
||||||
'POLL_OPTION_CAPTION' => $poll_option['poll_option_text'],
|
'POLL_OPTION_CAPTION' => $poll_option['poll_option_text'],
|
||||||
'POLL_OPTION_RESULT' => $poll_option['poll_option_total'],
|
'POLL_OPTION_RESULT' => $poll_option['poll_option_total'],
|
||||||
'POLL_OPTION_PERCENT' => $option_pct_txt,
|
'POLL_OPTION_PERCENT' => $option_pct_txt,
|
||||||
|
'POLL_OPTION_PCT' => ($option_pct * 100),
|
||||||
'POLL_OPTION_IMG' => $user->img('poll_center', $option_pct_txt, round($option_pct * 250)),
|
'POLL_OPTION_IMG' => $user->img('poll_center', $option_pct_txt, round($option_pct * 250)),
|
||||||
'POLL_OPTION_VOTED' => (in_array($poll_option['poll_option_id'], $cur_voted_id)) ? true : false)
|
'POLL_OPTION_VOTED' => (in_array($poll_option['poll_option_id'], $cur_voted_id)) ? true : false)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue