Restructured code for displaying commentlinks

This commit is contained in:
Stefan Ritter 2009-03-03 13:53:31 +01:00
parent fb1a6d9c56
commit b964989fce

View File

@ -140,7 +140,10 @@ else: # Show regular entry
for line in content: for line in content:
print ' ' + line.strip() + '<br />' print ' ' + line.strip() + '<br />'
if comments == "True": if comments == "True":
print ' <div class="comment"><ul><li><a href=? class="comment">comments</a></li></ul></div><br />' print ' <div class="comment">'
print ' <ul><li><a href=? class="comment">comments</a></li></ul>'
print ' </div><br />'
print ' </p></div>' print ' </p></div>'
print ' <br /><br />' print ' <br /><br />'
content.close() content.close()