Several XHTML fixes
This commit is contained in:
parent
126ed7eded
commit
44b517e5b4
12
blogthon.cgi
12
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":
|
||||
|
Loading…
Reference in New Issue
Block a user