Add antibot to post form in attempt to ensure posting from overboards is not incorrectly flagged as spam by the tinyboard antispam engine

This commit is contained in:
Benjamin Southall 2017-06-01 07:18:19 +09:00
parent cdf1e6a267
commit 1fef7c0b8e

View File

@ -9,7 +9,8 @@
{% if current_page %}
<input type="hidden" name="page" value="{{ current_page }}">
{% endif %}
{% if mod %}<input type="hidden" name="mod" value="1">{% endif %}
{% if mod %}<input type="hidden" name="mod" value="1">
{% endif %}
<table>
{% if id %}<tr>
<td colspan="2"><div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a></div></td>
@ -64,6 +65,7 @@
{% for myboard in boards %}
<option value="{{ myboard['uri'] }}">{{ myboard['uri'] }} ( {{ myboard['title'] }} )</option>
{% endfor %}
{{ antibot.html() }}
</select></td></tr>
{% endif %}
{% if not config.field_disable_comment or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %}<tr>