|
@ -82,36 +82,34 @@ |
|
|
</tr> |
|
|
</tr> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% if config.captcha.enabled %} |
|
|
{% if config.captcha.enabled %} |
|
|
<tr class='captcha'> |
|
|
<tr class='captcha'> |
|
|
<th> |
|
|
<th> |
|
|
{% trans %}Verification{% endtrans %} |
|
|
{% trans %}Verification{% endtrans %} |
|
|
</th> |
|
|
</th> |
|
|
<td> |
|
|
<td> |
|
|
<script>load_captcha("{{ config.captcha.provider_get }}", "{{ config.captcha.extra }}");</script> |
|
|
{% if not config.captcha.local %}<script>load_captcha("{{ config.captcha.provider_get }}", "{{ config.captcha.extra }}");</script><noscript>{% endif %} |
|
|
<noscript> |
|
|
<input id='captcha_text' class='captcha_text' type='text' name='captcha_text' size='32' maxlength='6' autocomplete='off'> |
|
|
<input class='captcha_text' type='text' name='captcha_text' size='32' maxlength='6' autocomplete='off'> |
|
|
<div class="captcha_html"> |
|
|
<div class="captcha_html"> |
|
|
<img id="captcha_img" src="{{ config.captcha.provider_get }}?mode=get&raw=1" onClick="this.src='{{ config.captcha.provider_get }}?mode=get&raw=1&'+Date.now();document.getElementById('captcha_text').value = '';"> |
|
|
<img src="{{ config.captcha.provider_get }}?mode=get&raw=1"> |
|
|
</div> |
|
|
</div> |
|
|
{% if not config.captcha.local %}</noscript>{% endif %} |
|
|
</noscript> |
|
|
</td> |
|
|
</td> |
|
|
</tr> |
|
|
</tr> |
|
|
{% elseif config.new_thread_capt %} |
|
|
{% elseif config.new_thread_capt %} |
|
|
|
|
|
{% if not id %} |
|
|
{% if not id %} |
|
|
<tr class='captcha'> |
|
|
<tr class='captcha'> |
|
|
<th> |
|
|
<th> |
|
|
{% trans %}Verification{% endtrans %} |
|
|
{% trans %}Verification{% endtrans %} |
|
|
</th> |
|
|
</th> |
|
|
<td> |
|
|
<td> |
|
|
<script>load_captcha("{{ config.captcha.provider_get }}", "{{ config.captcha.extra }}");</script> |
|
|
{% if not config.captcha.local %}<script>load_captcha("{{ config.captcha.provider_get }}", "{{ config.captcha.extra }}");</script><noscript>{% endif %} |
|
|
<noscript> |
|
|
<input id='captcha_text' class='captcha_text' type='text' name='captcha_text' size='32' maxlength='6' autocomplete='off'> |
|
|
<input class='captcha_text' type='text' name='captcha_text' size='32' maxlength='6' autocomplete='off'> |
|
|
|
|
|
<div class="captcha_html"> |
|
|
<div class="captcha_html"> |
|
|
<img src="{{ config.captcha.provider_get }}?mode=get&raw=1"> |
|
|
<img id="captcha_img" src="{{ config.captcha.provider_get }}?mode=get&raw=1" onClick="this.src='{{ config.captcha.provider_get }}?mode=get&raw=1&'+Date.now();document.getElementById('captcha_text').value = '';"> |
|
|
</div> |
|
|
</div> |
|
|
</noscript> |
|
|
{% if not config.captcha.local %}</noscript>{% endif %} |
|
|
</td> |
|
|
</td> |
|
|
</tr> |
|
|
</tr> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% if config.user_flag %} |
|
|
{% if config.user_flag %} |
|
|