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:
@@ -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>
|
||||
";
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user