1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 05:41:58 +02:00

Fixes #1449 - Polls failing in PHP7 and Multiple options voting not functioning.

This commit is contained in:
Cameron
2016-03-23 16:43:41 -07:00
parent 1c16094dea
commit 8282802d5e
8 changed files with 399 additions and 233 deletions

View File

@@ -233,8 +233,16 @@ $POLL_TEMPLATE['results']['end'] = "
</div>
";
/* v2.x template for polls when user HAS been denied the ability to vote (userclass) */
$POLL_TEMPLATE['denied']['start'] = $POLL_TEMPLATE['results']['start'];
$POLL_TEMPLATE['denied']['item'] = $POLL_TEMPLATE['results']['item'];
$POLL_TEMPLATE['denied']['end'] = "<div class='alert text-warning text-center'>{DISALLOWMESSAGE}</div>
<div class='text-center'><small>{VOTE_TOTAL}</small></div>
{COMMENTS} {OLDPOLLS}
</div>
</div>
";
?>