summaryrefslogtreecommitdiff
path: root/templates/index.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/index.html
parentef2e7c616b593e55dcb82b7dc8f2b3b30663ef0e (diff)
reCAPTCHA support
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html28
1 files changed, 27 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index c0491534..d00380e6 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -9,6 +9,22 @@
{config[meta_keywords]?<meta name="keywords" content="{config[meta_keywords]}" />}
<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]}
@@ -56,6 +72,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
@@ -134,4 +160,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>