summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-12-11 02:28:05 +0000
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-12-11 21:14:05 +0000
commitc038734986ab5f96627239a1a64288220e738dd2 (patch)
tree22dce076647543eb5a45bb3df08bca8b57e4b3fd /templates
parent370c1b87c95bbc381e8cfbfe66ecf84df8b3b482 (diff)
comments_display.tmpl: use less nice formatting to avoid whitespace in output
Diffstat (limited to 'templates')
-rw-r--r--templates/comments_display.tmpl40
1 files changed, 17 insertions, 23 deletions
diff --git a/templates/comments_display.tmpl b/templates/comments_display.tmpl
index 0e9c82e2e..bc4b70273 100644
--- a/templates/comments_display.tmpl
+++ b/templates/comments_display.tmpl
@@ -3,31 +3,25 @@
<div class="comments-header">
Posted by
<TMPL_IF NAME="COMMENTUSER">
- <span class="author">
- <TMPL_IF NAME="COMMENTAUTHORURL">
- <a href="<TMPL_VAR NAME=COMMENTAUTHORURL>"><TMPL_VAR NAME=COMMENTAUTHOR></a>
- <TMPL_ELSE>
- <TMPL_VAR NAME=AUTHOR>
- </TMPL_IF>
- </span>
+<span class="author">
+<TMPL_IF NAME="COMMENTAUTHORURL">
+<a href="<TMPL_VAR NAME=COMMENTAUTHORURL>"><TMPL_VAR NAME=COMMENTAUTHOR></a>
<TMPL_ELSE>
- <TMPL_IF NAME=COMMENTIP>
- <span class="author">
- <TMPL_VAR NAME=COMMENTIP>
- </span>
- <TMPL_ELSE>
- unknown IP address
- </TMPL_IF>
+<TMPL_VAR NAME=AUTHOR>
+</TMPL_IF>
+</span>
+<TMPL_ELSE>
+<TMPL_IF NAME=COMMENTIP>
+<span class="author">
+<TMPL_VAR NAME=COMMENTIP>
+</span>
+<TMPL_ELSE>
+unknown IP address
+</TMPL_IF>
- <TMPL_IF NAME=AUTHOR>
- (<span class="claimedauthor">
- <TMPL_IF NAME="AUTHORURL">
- <a href="<TMPL_VAR NAME=AUTHORURL>"><TMPL_VAR NAME=AUTHOR></a>
- <TMPL_ELSE>
- <TMPL_VAR NAME=AUTHOR>
- </TMPL_IF>
- </span>)
- </TMPL_IF>
+<TMPL_IF NAME=AUTHOR>
+(<span class="claimedauthor"><TMPL_IF NAME="AUTHORURL"><a href="<TMPL_VAR NAME=AUTHORURL>"><TMPL_VAR NAME=AUTHOR></a><TMPL_ELSE><TMPL_VAR NAME=AUTHOR></TMPL_IF></span>)
+</TMPL_IF>
</TMPL_IF>
(<TMPL_VAR CTIME>)