mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Wall: Fix invalid reference to $club in TextArea
This commit is contained in:
parent
a75a4dd8b2
commit
cdbe0f906b
1 changed files with 16 additions and 14 deletions
|
@ -9,20 +9,22 @@
|
||||||
Вложение: <span>(unknown)</span>
|
Вложение: <span>(unknown)</span>
|
||||||
</div>
|
</div>
|
||||||
<div n:if="$postOpts ?? true" class="post-opts">
|
<div n:if="$postOpts ?? true" class="post-opts">
|
||||||
{if !is_null($thisUser) && !is_null($club) && $owner < 0 && $club->canBeModifiedBy($thisUser)}
|
{if !is_null($thisUser) && !is_null($club) && $owner < 0}
|
||||||
<script>
|
{if $club->canBeModifiedBy($thisUser)}
|
||||||
function onWallAsGroupClick(el) {
|
<script>
|
||||||
_display = el.checked ? "block" : "none";
|
function onWallAsGroupClick(el) {
|
||||||
document.querySelector("#forceSignOpt").style.display = _display;
|
_display = el.checked ? "block" : "none";
|
||||||
}
|
document.querySelector("#forceSignOpt").style.display = _display;
|
||||||
</script>
|
}
|
||||||
|
</script>
|
||||||
<label>
|
|
||||||
<input type="checkbox" name="as_group" onchange="onWallAsGroupClick(this)" /> {_"post_as_group"}
|
<label>
|
||||||
</label>
|
<input type="checkbox" name="as_group" onchange="onWallAsGroupClick(this)" /> {_"post_as_group"}
|
||||||
<label id="forceSignOpt" style="display: none;">
|
</label>
|
||||||
<input type="checkbox" name="force_sign" /> {_"add_signature"}
|
<label id="forceSignOpt" style="display: none;">
|
||||||
</label>
|
<input type="checkbox" name="force_sign" /> {_"add_signature"}
|
||||||
|
</label>
|
||||||
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
|
|
Loading…
Reference in a new issue