Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 27 lines (24 sloc) 1.506 kb
da9748f Initial version.
Matthias Mees authored
1 {foreach from=$comments item=comment name="comments"}
9dbf5d4 Some horizontal whitespace to ventilate the design a little (min-widt…
Matthias Mees authored
2 <article id="c{$comment.id}" class="serendipity_comment{if $entry.author == $comment.author} serendipity_comment_author_self{/if} {cycle values="odd,even"} {if $comment.depth > 8}commentlevel-9{else}commentlevel-{$comment.depth}{/if}">
ee4b743 Added timezone offset for valid datetime attribute in time elements.
Matthias Mees authored
3 <h4>{if $comment.url}<a href="{$comment.url}">{/if}{$comment.author|@default:$CONST.ANONYMOUS}{if $comment.url}</a>{/if} {$CONST.ON} <time datetime="{$comment.timestamp|@formatTime:'%Y-%m-%dT%H:%M:%S%z'}" pubdate>{$comment.timestamp|@formatTime:$template_option.date_format}</time>:</h4>
da9748f Initial version.
Matthias Mees authored
4
5 <div class="serendipity_commentBody">
6 {if $comment.body == 'COMMENT_DELETED'}
7 {$CONST.COMMENT_IS_DELETED}
8 {else}
9 {$comment.body}
10 {/if}
11 </div>
12
13 <footer>
14 <a class="comment_source_trace" href="#c{$comment.id}">#{$comment.trace}</a>
15 {if $entry.is_entry_owner}
44b609d jQuery substitute for delete comment alert box.
Matthias Mees authored
16 | <a class="comment_source_ownerlink" href="{$comment.link_delete}" title="{$CONST.COMMENT_DELETE_CONFIRM|@sprintf:$comment.id:$comment.author}">{$CONST.DELETE}</a>
da9748f Initial version.
Matthias Mees authored
17 {/if}
18 {if $entry.allow_comments AND $comment.body != 'COMMENT_DELETED'}
6497e30 Added jQuery substitute for comment reply function.
Matthias Mees authored
19 | <a class="comment_reply" href="#serendipity_CommentForm" id="serendipity_reply_{$comment.id}"{if $comment_onchange != ''} onclick="{$comment_onchange}"{/if}>{$CONST.REPLY}</a>
da9748f Initial version.
Matthias Mees authored
20 <div id="serendipity_replyform_{$comment.id}"></div>
21 {/if}
22 </footer>
23 </article>
24 {foreachelse}
25 <p class="nocomments">{$CONST.NO_COMMENTS}</p>
26 {/foreach}
Something went wrong with that request. Please try again.