forked from leftypol/leftypol
Add dynamic captcha support
This commit is contained in:
parent
81f5c70681
commit
483d553fc0
4 changed files with 60 additions and 7 deletions
|
@ -91,7 +91,11 @@
|
|||
</td>
|
||||
</tr>{% endif %}
|
||||
{% if config.recaptcha %}
|
||||
{% if config.dynamic_captcha %}
|
||||
<tr id="captcha" style="display: none;">
|
||||
{% else %}
|
||||
<tr>
|
||||
{% endif %}
|
||||
<th>
|
||||
{% trans %}Verification{% endtrans %}
|
||||
{{ antibot.html() }}
|
||||
|
@ -197,7 +201,7 @@
|
|||
{{ antibot.html() }}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="password" value="" size="12" maxlength="18" autocomplete="off">
|
||||
<input type="text" name="password" value="" size="12" maxlength="18" autocomplete="off">
|
||||
<span class="unimportant">{% trans %}(For file deletion.){% endtrans %}</span>
|
||||
{{ antibot.html() }}
|
||||
</td>
|
||||
|
@ -208,7 +212,7 @@
|
|||
{{ antibot.html() }}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="simple_spam" value="" size="12" maxlength="18" autocomplete="off">
|
||||
<input type="text" name="simple_spam" value="" size="12" maxlength="18" autocomplete="off">
|
||||
{{ antibot.html() }}
|
||||
</td>
|
||||
</tr>{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue