summaryrefslogtreecommitdiff
path: root/templates/thread.html
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-06-16 04:59:16 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-06-16 04:59:16 +1000
commit370b829460a2ccf0a3fcf614bcd6e4f918f6560e (patch)
treed144360d5ee78aa5891c159a65b2f8d21990358f /templates/thread.html
parentef2e7c616b593e55dcb82b7dc8f2b3b30663ef0e (diff)
reCAPTCHA support
Diffstat (limited to 'templates/thread.html')
-rw-r--r--templates/thread.html28
1 files changed, 27 insertions, 1 deletions
diff --git a/templates/thread.html b/templates/thread.html
index f2f9b8b0..d900c95e 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -8,6 +8,22 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<link rel="stylesheet" type="text/css" id="stylesheet" href="{config[uri_stylesheets]}{config[default_stylesheet][1]}">
<script type="text/javascript" src="{config[url_javascript]}"></script>
+ {config[recaptcha]?<style type="text/css">
+ /* reCaptcha style */
+ .recaptcha_image_cell {
+ background: none !important;
+ }
+ table.recaptchatable {
+ border: none !important;
+ }
+ #recaptcha_logo, #recaptcha_tagline {
+ display: none;
+ float: right;
+ }
+ .recaptchatable a {
+ display: block;
+ }
+ </style>}
</head>
<body>
{boardlist[top]}
@@ -55,6 +71,16 @@
<textarea name="body" id="body" rows="5" cols="30"></textarea>
</td>
</tr>
+ {config[recaptcha]?
+ <tr>
+ <th>
+ Verification
+ </th>
+ <td>
+ <script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k={config[recaptcha_public]}"></script>
+ </td>
+ </tr>
+ }
<tr>
<th>
File
@@ -123,4 +149,4 @@
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard</a> v0.9.2 | <a href="http://tinyboard.org/">Tinyboard</a> Copyright © 2010-2011 Tinyboard Development Group</p>
<p class="unimportant" style="text-align:center;">All trademarks, copyrights, comments and images on this page are owned by and/or are the responsibility of their respective parties.</p>
</body>
-</html> \ No newline at end of file
+</html>