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