summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMarcin Łabanowski <marcin@6irc.net>2012-12-22 21:43:55 +0100
committerMarcin Łabanowski <marcin@6irc.net>2012-12-22 21:43:55 +0100
commit49afb685c8e658c0f36b8171e176363538eb9419 (patch)
tree1e51c6599bdc762f553f3352a928bf203c75df6b /templates
parent2451a0f29c08e23ff36ef113082c112224f7e576 (diff)
parent67e9fb587220a677cc15c4b1f8efe2764b8b1955 (diff)
Merge branch 'imgcaptcha' of https://github.com/asiekierka/Tinyboard
Diffstat (limited to 'templates')
-rw-r--r--templates/post_form.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/post_form.html b/templates/post_form.html
index 8b7350c7..30bf9224 100644
--- a/templates/post_form.html
+++ b/templates/post_form.html
@@ -58,6 +58,21 @@
</td>
</tr>
{% endif %}
+ {% if config.imgcaptcha %}
+ <tr>
+ <th>
+ {% trans %}Verification{% endtrans %}
+ {{ antibot.html() }}
+ </th>
+ <td>
+ <input type="hidden" name="imgcaptcha_hash" id="imgcaptcha_hash" value="kucaj stad, kucu hakierze">
+ <img src="{{ config.imgcaptcha_filler }}" width="{{ config.imgcaptcha_width }}px" height="{{ config.imgcaptcha_height }}px" id="imgcaptcha_img"></img><br>
+ {{ config.imgcaptcha_question }} <input type="text" name="imgcaptcha_verify" id="imgcaptcha_verify" value=""></input><br>
+ <a href="javascript:ic_odswiezKapcze()">Odswiez</a>
+ {{ antibot.html() }}
+ </td>
+ </tr>
+ {% endif %}
<tr>
<th>
{% trans %}File{% endtrans %}