Ver código fonte

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

pull/108/head
Benjamin Southall 7 anos atrás
pai
commit
1fef7c0b8e
1 arquivos alterados com 3 adições e 1 exclusões
  1. +3
    -1
      templates/post_form.html

+ 3
- 1
templates/post_form.html Ver arquivo

@@ -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>


Carregando…
Cancelar
Salvar