aboutsummaryrefslogtreecommitdiffstats
path: root/blogthon.cgi
diff options
context:
space:
mode:
authorStefan Ritter <xeno@goliath.thehappy.de>2009-03-09 18:20:48 +0100
committerStefan Ritter <xeno@goliath.thehappy.de>2009-03-09 18:20:48 +0100
commit44b517e5b4bd7b7be292614323047c12f26114dd (patch)
tree00bf985a0cb9f46b645110168e312a626b3b499f /blogthon.cgi
parent126ed7ededc5ac42137b0381b0c32e86fda6b9a2 (diff)
Several XHTML fixes
Diffstat (limited to '')
-rwxr-xr-xblogthon.cgi12
1 files changed, 6 insertions, 6 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index 930ab49..2acc7f5 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -187,7 +187,7 @@ else: # Show regular entry
comments_file = glob.glob(entries_dir + title + '.comments')
if post_display:
if comments_file:
- print ' <br /><hr>'
+ print ' <br /><hr />'
comments_file = glob.glob(entries_dir + title + '.comments')
comments_content = open(comments_file[0], "r")
for line in comments_content:
@@ -203,11 +203,11 @@ else: # Show regular entry
# Form for adding comments
print ' <br /><br /><br />'
- print ' <form method="post">'
- print ' <input type="hidden" name="ctitle" value="' + title + '">'
- print ' <label for="cname">name:</label><input type="text" id="cname" name="cname">'
- print ' <br /><label for="ctext">text:</label><textarea rows="5" id="ctext" name="ctext"></textarea>'
- print ' <br /><input type="submit" id="submit" value="post comment">'
+ print ' <form action="" method="post">'
+ print ' <input type="hidden" name="ctitle" value="' + title + '" />'
+ print ' <label for="cname">name:</label><input type="text" id="cname" name="cname" />'
+ print ' <br /><label for="ctext">text:</label><textarea rows="5" cols="80" id="ctext" name="ctext"></textarea>'
+ print ' <br /><input type="submit" id="submit" value="post comment" />'
print ' </form>'
if comments == "True":