if applied, reverting this would be problematic
[ikiwiki.git] / templates / comment.tmpl
blobfb76ea00494880863a8973b1942ae11a2e4e5a87
1 <div class="comment" id="<TMPL_VAR NAME=COMMENTID>">
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>
11 <div class="inlinecontent">
12 <TMPL_VAR CONTENT>
13 </div>
15 <div class="comment-header">
16 Comment by
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 -->
46 &mdash; <TMPL_VAR CTIME>
47 </div>
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>
59 </div><!--.comment-->