summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2017-06-01 07:18:19 +0900
committerBenjamin Southall <applemansigloo@gmail.com>2017-06-01 07:18:19 +0900
commit1fef7c0b8e0a60b8e750ad36d825d79ec0c8f2b0 (patch)
treef7b758ed63ed12def78abea4db1108a07854e64a
parentcdf1e6a26780d69687b2630c9d542cbb3dc4187f (diff)
Add antibot to post form in attempt to ensure posting from overboards is not incorrectly flagged as spam by the tinyboard antispam engine
-rw-r--r--templates/post_form.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/post_form.html b/templates/post_form.html
index 528f9794..fea61bbb 100644
--- a/templates/post_form.html
+++ b/templates/post_form.html
@@ -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>