aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2008-12-20 18:36:16 -0500
committerJoey Hess <joey@gnu.kitenet.net>2008-12-20 18:36:16 -0500
commitb7531acb59a484332121652d906a6ab927c8f064 (patch)
tree5b7caacd2a764c070fe6ac30f4433f4fe29bbf69 /templates
parent8dbb30d346aac45e6507d98ae3092123b8579113 (diff)
downloadikiwiki-b7531acb59a484332121652d906a6ab927c8f064.tar
ikiwiki-b7531acb59a484332121652d906a6ab927c8f064.tar.gz
tweak author display
Put the icon after the name, mostly because it scans better on non-graphical browsers where the alt text is displayed. And because the name is really the more important part.
Diffstat (limited to 'templates')
-rw-r--r--templates/comment.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/comment.tmpl b/templates/comment.tmpl
index 2fb54fe7d..b419404ea 100644
--- a/templates/comment.tmpl
+++ b/templates/comment.tmpl
@@ -1,25 +1,25 @@
<div class="comment" id="<TMPL_VAR NAME=INLINEPAGE>">
<div class="comment-header">
-Posted by
+By
<TMPL_IF NAME="COMMENTUSER">
<span class="author">
<TMPL_IF NAME="COMMENTOPENID">
+<a href="<TMPL_VAR NAME=COMMENTOPENID>"><TMPL_VAR NAME=COMMENTAUTHOR></a>
<img src="/wikiicons/openid.png" width="20" height="15" alt="[OpenID]"
title="Signed in with OpenID" />
-<a href="<TMPL_VAR NAME=COMMENTOPENID>"><TMPL_VAR NAME=COMMENTAUTHOR></a>
<TMPL_ELSE>
-<img src="/wikiicons/signedin.png" width="15" height="15" alt="[Signed in]"
- title="Signed in directly" />
<TMPL_IF NAME="COMMENTAUTHORURL">
<a href="<TMPL_VAR NAME=COMMENTAUTHORURL>"><TMPL_VAR NAME=COMMENTAUTHOR></a>
<TMPL_ELSE>
<TMPL_VAR NAME=COMMENTAUTHOR>
</TMPL_IF>
+<img src="/wikiicons/signedin.png" width="15" height="15" alt="[Signed in]"
+ title="Signed in directly" />
</TMPL_IF>
</span>
@@ -31,12 +31,12 @@ Posted by
<TMPL_ELSE><!-- !COMMENTIP -->
<span class="author" title="Unauthenticated, from unknown IP address">
</TMPL_IF>
-<img src="/wikiicons/anonymous.png" width="15" height="15" alt="[Unauthenticated]" />
<TMPL_IF NAME="AUTHORURL">
<a href="<TMPL_VAR NAME=AUTHORURL>"><TMPL_VAR NAME=AUTHOR></a>
<TMPL_ELSE>
<TMPL_VAR NAME=AUTHOR>
</TMPL_IF>
+<img src="/wikiicons/anonymous.png" width="15" height="15" alt="[Unauthenticated]" />
</span>
</TMPL_IF><!-- !COMMENTUSER -->