aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/picture.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-01-19 02:56:54 +0000
committerrvelices <rv-github@modusoptimus.com>2007-01-19 02:56:54 +0000
commit96a0c2b1d3f44196cb1471a4cb476aaf5efbca88 (patch)
tree4521937673840147affb72206ee9618ecd8259c6 /template/yoga/picture.tpl
parent6381378a8fe8fc260344e93fd24a833aaaa656d0 (diff)
feature 625: comment anti-spam - protect against some of the spam robots
git-svn-id: http://piwigo.org/svn/trunk@1737 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/picture.tpl')
-rw-r--r--template/yoga/picture.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl
index 02453e9af..f42fc83ae 100644
--- a/template/yoga/picture.tpl
+++ b/template/yoga/picture.tpl
@@ -190,7 +190,8 @@
<!-- BEGIN author_field -->
<label>{lang:upload_author}<input type="text" name="author"></label>
<!-- END author_field -->
- <label>{lang:comment}<textarea name="content" rows="10" cols="80"></textarea></label>
+ <label>{lang:comment}<textarea name="content" rows="5" cols="80"></textarea></label>
+ <input type="hidden" name="key" value="{comments.add_comment.key}" />
<input type="submit" value="{lang:submit}">
</fieldset>
</form>