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