simplify pagespec
[ikiwiki] / templates / comments_display.tmpl
1 <div class="comments-display">
2
3 <div class="comments-header">
4 Posted by
5 <TMPL_IF NAME="COMMENTUSER">
6 <span class="author">
7 <TMPL_IF NAME="COMMENTAUTHORURL">
8 <a href="<TMPL_VAR NAME=COMMENTAUTHORURL>"><TMPL_VAR NAME=COMMENTAUTHOR></a>
9 <TMPL_ELSE>
10 <TMPL_VAR NAME=AUTHOR>
11 </TMPL_IF>
12 </span>
13 <TMPL_ELSE>
14 <TMPL_IF NAME=COMMENTIP>
15 <span class="author">
16 <TMPL_VAR NAME=COMMENTIP>
17 </span>
18 <TMPL_ELSE>
19 unknown IP address
20 </TMPL_IF>
21
22 <TMPL_IF NAME=AUTHOR>
23 (<span class="claimedauthor"><TMPL_IF NAME="AUTHORURL"><a href="<TMPL_VAR NAME=AUTHORURL>"><TMPL_VAR NAME=AUTHOR></a><TMPL_ELSE><TMPL_VAR NAME=AUTHOR></TMPL_IF></span>)
24 </TMPL_IF>
25 </TMPL_IF>
26
27 (<TMPL_VAR CTIME>)
28 </div>
29
30 <div class="comments-subject"><TMPL_VAR TITLE></div>
31
32 <div class="inlinecontent">
33 <TMPL_VAR CONTENT>
34 </div>
35
36 </div><!--.comments-display-->