mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Auth: Hide captcha when commitcaptcha is disabled
This commit is contained in:
parent
4213217063
commit
8f23720c1f
1 changed files with 14 additions and 15 deletions
|
@ -101,6 +101,7 @@
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{if !(strpos(captcha_template(), 'verified'))}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="regform-left">
|
<td class="regform-left">
|
||||||
<span class="nobold">CAPTCHA: </span>
|
<span class="nobold">CAPTCHA: </span>
|
||||||
|
@ -109,6 +110,7 @@
|
||||||
{captcha_template()|noescape}
|
{captcha_template()|noescape}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{/if}
|
||||||
</table>
|
</table>
|
||||||
<div style="margin-left: 100px; margin-right: 100px; text-align: center;">
|
<div style="margin-left: 100px; margin-right: 100px; text-align: center;">
|
||||||
<input type="hidden" name="hash" value="{$csrfToken}" />
|
<input type="hidden" name="hash" value="{$csrfToken}" />
|
||||||
|
@ -130,10 +132,7 @@
|
||||||
<td>
|
<td>
|
||||||
{_registration_disabled_info}
|
{_registration_disabled_info}
|
||||||
{if OPENVK_ROOT_CONF['openvk']['preferences']['registration']['disablingReason']}
|
{if OPENVK_ROOT_CONF['openvk']['preferences']['registration']['disablingReason']}
|
||||||
<br/>
|
<br/><br/>{_admin_banned_link_reason}:<br>
|
||||||
<br/>
|
|
||||||
{_admin_banned_link_reason}:
|
|
||||||
<br>
|
|
||||||
<b>{php echo OPENVK_ROOT_CONF['openvk']['preferences']['registration']['disablingReason']}</b>
|
<b>{php echo OPENVK_ROOT_CONF['openvk']['preferences']['registration']['disablingReason']}</b>
|
||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue