aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/comment.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/comment.tmpl b/templates/comment.tmpl
index fa90e6d26..c2ee5a371 100644
--- a/templates/comment.tmpl
+++ b/templates/comment.tmpl
@@ -14,8 +14,8 @@
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
<TMPL_IF HTML5><header class="comment-header"><TMPL_ELSE><div class="comment-header"></TMPL_IF>
-Comment by
<TMPL_IF COMMENTUSER>
+Comment by
<TMPL_IF COMMENTOPENID>
<span class="author" title="OpenID">
<a href="<TMPL_VAR COMMENTOPENID>"><TMPL_VAR COMMENTAUTHOR></a>
@@ -30,6 +30,8 @@ Comment by
</span>
</TMPL_IF>
<TMPL_ELSE>
+<TMPL_IF AUTHOR>
+Comment by
<TMPL_IF COMMENTIP>
<span class="author" title="Unauthenticated, from <TMPL_VAR COMMENTIP>">
<TMPL_ELSE>
@@ -40,6 +42,7 @@ Comment by
<TMPL_ELSE>
<TMPL_VAR AUTHOR>
</TMPL_IF>
+</TMPL_IF>
</span>
</TMPL_IF>
&mdash; <TMPL_VAR CTIME>