mirror of
https://github.com/openvk/openvk
synced 2024-12-23 09:01:15 +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">
|
<div n:foreach="$options as $oid => $option" class="poll-option">
|
||||||
<label>
|
<label>
|
||||||
{if $multiple}
|
{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}
|
{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}
|
{/if}
|
||||||
|
|
||||||
{$option}
|
{$option}
|
||||||
|
|
Loading…
Reference in a new issue