Document trail plugin v3
[ikiwiki.git] / templates / comment.tmpl
1 <TMPL_IF HTML5><article class="comment" id="<TMPL_VAR COMMENTID>">
2 <TMPL_ELSE><div class="comment" id="<TMPL_VAR COMMENTID>"></TMPL_IF>
3
4 <TMPL_IF COMMENTAUTHORAVATAR><div class="comment-avatar">
5 <img src="<TMPL_VAR COMMENTAUTHORAVATAR>" alt="" />
6 </div></TMPL_IF>
7
8 <TMPL_IF HTML5><header class="comment-subject"><TMPL_ELSE><div class="comment-subject"></TMPL_IF>
9 <TMPL_IF PERMALINK>
10 <a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
11 <TMPL_ELSE>
12 <TMPL_VAR TITLE>
13 </TMPL_IF>
14 <TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
15
16 <TMPL_IF HTML5><section class="inlinecontent"><TMPL_ELSE><div class="inlinecontent"></TMPL_IF>
17 <TMPL_VAR CONTENT>
18 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
19
20 <TMPL_IF HTML5><header class="comment-header"><TMPL_ELSE><div class="comment-header"></TMPL_IF>
21 <TMPL_IF COMMENTUSER>
22 Comment by
23 <TMPL_IF COMMENTOPENID>
24 <span class="author" title="OpenID">
25 <a href="<TMPL_VAR COMMENTOPENID>"><TMPL_VAR COMMENTAUTHOR></a>
26 </span>
27 <TMPL_ELSE>
28 <span class="author" title="Signed in">
29 <TMPL_IF COMMENTAUTHORURL>
30 <a href="<TMPL_VAR COMMENTAUTHORURL>"><TMPL_VAR COMMENTAUTHOR></a>
31 <TMPL_ELSE>
32 <TMPL_VAR COMMENTAUTHOR>
33 </TMPL_IF>
34 </span>
35 </TMPL_IF>
36 <TMPL_ELSE>
37 <TMPL_IF AUTHOR>
38 Comment by
39 <TMPL_IF COMMENTIP>
40 <span class="author" title="Unauthenticated, from <TMPL_VAR COMMENTIP>">
41 <TMPL_ELSE>
42 <span class="author" title="Unauthenticated, from unknown IP address">
43 </TMPL_IF>
44 <TMPL_IF AUTHORURL>
45 <a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a>
46 <TMPL_ELSE>
47 <TMPL_VAR AUTHOR>
48 </TMPL_IF>
49 </TMPL_IF>
50 </span>
51 </TMPL_IF>
52 &mdash; <TMPL_VAR CTIME>
53 <TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
54
55 <TMPL_IF HAVE_ACTIONS>
56 <TMPL_IF HTML5><nav class="actions"><TMPL_ELSE><div class="actions"></TMPL_IF>
57 <ul>
58 <TMPL_IF REMOVEURL>
59 <li><a href="<TMPL_VAR REMOVEURL>" rel="nofollow">Remove comment</a></li>
60 </TMPL_IF>
61 </ul>
62 <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
63 </TMPL_IF>
64
65 <div style="clear: both"></div>
66 <TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF>