]> sipb.mit.edu Git - ikiwiki.git/blob - templates/comment.tmpl
tweak author display
[ikiwiki.git] / templates / comment.tmpl
1 <div class="comment" id="<TMPL_VAR NAME=INLINEPAGE>">
2
3 <div class="comment-header">
4 By
5
6 <TMPL_IF NAME="COMMENTUSER">
7 <span class="author">
8 <TMPL_IF NAME="COMMENTOPENID">
9
10 <a href="<TMPL_VAR NAME=COMMENTOPENID>"><TMPL_VAR NAME=COMMENTAUTHOR></a>
11 <img src="/wikiicons/openid.png" width="20" height="15" alt="[OpenID]"
12     title="Signed in with OpenID" />
13
14 <TMPL_ELSE>
15
16 <TMPL_IF NAME="COMMENTAUTHORURL">
17 <a href="<TMPL_VAR NAME=COMMENTAUTHORURL>"><TMPL_VAR NAME=COMMENTAUTHOR></a>
18 <TMPL_ELSE>
19 <TMPL_VAR NAME=COMMENTAUTHOR>
20 </TMPL_IF>
21 <img src="/wikiicons/signedin.png" width="15" height="15" alt="[Signed in]"
22     title="Signed in directly" />
23
24 </TMPL_IF>
25 </span>
26
27 <TMPL_ELSE><!-- !COMMENTUSER -->
28
29 <TMPL_IF NAME=COMMENTIP>
30 <span class="author" title="Unauthenticated, from <TMPL_VAR NAME=COMMENTIP>">
31 <TMPL_ELSE><!-- !COMMENTIP -->
32 <span class="author" title="Unauthenticated, from unknown IP address">
33 </TMPL_IF>
34 <TMPL_IF NAME="AUTHORURL">
35 <a href="<TMPL_VAR NAME=AUTHORURL>"><TMPL_VAR NAME=AUTHOR></a>
36 <TMPL_ELSE>
37 <TMPL_VAR NAME=AUTHOR>
38 </TMPL_IF>
39 <img src="/wikiicons/anonymous.png" width="15" height="15" alt="[Unauthenticated]" />
40 </span>
41
42 </TMPL_IF><!-- !COMMENTUSER -->
43
44 (<TMPL_VAR CTIME>)
45 </div>
46
47 <div class="comment-subject"><a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a></div>
48
49 <div class="inlinecontent">
50 <TMPL_VAR CONTENT>
51 </div>
52
53 </div><!--.comment-->