back anon posting

This commit is contained in:
mrilyew 2025-06-08 08:54:48 +03:00
parent b90a0fa013
commit ec5dee371c

View file

@ -22,6 +22,8 @@
{if !is_null($thisUser) && !is_null($club ?? NULL) && $owner < 0} {if !is_null($thisUser) && !is_null($club ?? NULL) && $owner < 0}
{if $club->canBeModifiedBy($thisUser)} {if $club->canBeModifiedBy($thisUser)}
{var $anonHide = true}
<script> <script>
function onWallAsGroupClick(el) { function onWallAsGroupClick(el) {
document.querySelector("#forceSignOpt").style.display = el.checked ? "block" : "none"; document.querySelector("#forceSignOpt").style.display = el.checked ? "block" : "none";
@ -41,7 +43,7 @@
{/if} {/if}
{/if} {/if}
<label n:if="$anonEnabled" id="octoberAnonOpt" style="display: none;"> <label n:if="$anonEnabled" id="octoberAnonOpt" {if $anonHide}style="display: none;"{/if}>
<input type="checkbox" name="anon" /> {_as_anonymous} <input type="checkbox" name="anon" /> {_as_anonymous}
</label> </label>