mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Polls: Fix compatibility with old PHP
This commit is contained in:
parent
9e3b80dcb4
commit
dffa6d799e
1 changed files with 2 additions and 2 deletions
|
@ -21,9 +21,9 @@
|
|||
<div n:foreach="$options as $oid => $option" class="poll-option">
|
||||
<label>
|
||||
{if $multiple}
|
||||
<input n:attr="disabled: is_null($thisUser)" type="checkbox" name="option{$oid}" onclick="pollCheckBoxPressed(this)" />
|
||||
<input n:attr="disabled => is_null($thisUser)" type="checkbox" name="option{$oid}" onclick="pollCheckBoxPressed(this)" />
|
||||
{else}
|
||||
<input n:attr="disabled: is_null($thisUser)" type="radio" value="{$oid}" name="vote" onclick="pollRadioPressed(this)" />
|
||||
<input n:attr="disabled => is_null($thisUser)" type="radio" value="{$oid}" name="vote" onclick="pollRadioPressed(this)" />
|
||||
{/if}
|
||||
|
||||
{$option}
|
||||
|
|
Loading…
Reference in a new issue