aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/picture.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-11-07 22:54:49 +0000
committerplegall <plg@piwigo.org>2005-11-07 22:54:49 +0000
commit094fc8814f2c8a8e896b4c8bc077847adbc8304c (patch)
treecea5b0e9ebc4123516ee32ed9bbf393d07d72d95 /template/yoga/picture.tpl
parent6718d32228453c7a242cda9ebc636c229003e8cc (diff)
- improvement: use a "filter" form for adding user comments.
git-svn-id: http://piwigo.org/svn/trunk@924 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/picture.tpl')
-rw-r--r--template/yoga/picture.tpl29
1 files changed, 17 insertions, 12 deletions
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl
index 292505136..7a574b36e 100644
--- a/template/yoga/picture.tpl
+++ b/template/yoga/picture.tpl
@@ -174,19 +174,24 @@
<!-- END comment -->
<!-- BEGIN add_comment -->
-<h2>{L_ADD_COMMENT}</h2>
-<form method="post" action="{U_ADD_COMMENT}">
- <!-- BEGIN author_field -->
-<p><label>{L_AUTHOR}:<input type="text" name="author"></label>
- <!-- END author_field -->
- <!-- BEGIN author_known -->
- <input type="hidden" name="author" value="{comments.add_comment.author_known.KNOWN_AUTHOR}">
- <!-- END author_known -->
-<p><label>{L_COMMENT}:
-<textarea name="content" rows="7" style="width:100%;"></textarea></label>
-<p><input type="submit" value="{L_SUBMIT}">
+<form method="post" action="{U_ADD_COMMENT}" class="filter" id="addComment">
+ <fieldset>
+ <legend>{L_ADD_COMMENT}</legend>
+
+ <!-- BEGIN author_field -->
+ <label>{L_AUTHOR}<input type="text" name="author"></label>
+ <!-- END author_field -->
+
+ <!-- BEGIN author_known -->
+ <input type="hidden" name="author" value="{comments.add_comment.author_known.KNOWN_AUTHOR}">
+ <!-- END author_known -->
+
+ <label>{L_COMMENT}<textarea name="content" rows="10" cols="80"></textarea></label>
+
+ <input type="submit" value="{L_SUBMIT}">
+ </fieldset>
</form>
- <!-- END add_comment -->
+<!-- END add_comment -->
<!-- END comments -->
</div>