comments_display.tmpl: use less nice formatting to avoid whitespace in output
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Thu, 11 Dec 2008 02:28:05 +0000 (02:28 +0000)
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Thu, 11 Dec 2008 21:14:05 +0000 (21:14 +0000)
templates/comments_display.tmpl

index 0e9c82e2e14e1d8da8400eee51a5f76cec91ca80..bc4b70273c7b36e78c6e811e3392e20aea4119f6 100644 (file)
@@ -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>)