mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +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,14 +101,16 @@
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
{if !(strpos(captcha_template(), 'verified'))}
|
||||||
<td class="regform-left">
|
<tr>
|
||||||
<span class="nobold">CAPTCHA: </span>
|
<td class="regform-left">
|
||||||
</td>
|
<span class="nobold">CAPTCHA: </span>
|
||||||
<td class="regform-right">
|
</td>
|
||||||
{captcha_template()|noescape}
|
<td class="regform-right">
|
||||||
</td>
|
{captcha_template()|noescape}
|
||||||
</tr>
|
</td>
|
||||||
|
</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}" />
|
||||||
|
@ -120,21 +122,18 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{else}
|
{else}
|
||||||
<h4>{_registration_closed}</h4>
|
<h4>{_registration_closed}</h4>
|
||||||
<table cellspacing="10" cellpadding="0" border="0" align="center" style="margin: 9px;">
|
<table cellspacing="10" cellpadding="0" border="0" align="center" style="margin: 9px;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width: 20%;">
|
<td style="width: 20%;">
|
||||||
<img src="/assets/packages/static/openvk/img/oof.apng" alt="{_registration_closed}" style="width: 100%;"/>
|
<img src="/assets/packages/static/openvk/img/oof.apng" alt="{_registration_closed}" style="width: 100%;"/>
|
||||||
</td>
|
</td>
|
||||||
<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/>
|
<b>{php echo OPENVK_ROOT_CONF['openvk']['preferences']['registration']['disablingReason']}</b>
|
||||||
{_admin_banned_link_reason}:
|
|
||||||
<br>
|
|
||||||
<b>{php echo OPENVK_ROOT_CONF['openvk']['preferences']['registration']['disablingReason']}</b>
|
|
||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue