Skip to content
Newer
Older
100644 28 lines (25 sloc) 1.52 KB
da9748f Initial version.
Matthias Mees authored Jul 27, 2011
1 {foreach from=$comments item=comment name="comments"}
6497e30 Added jQuery substitute for comment reply function.
Matthias Mees authored Sep 7, 2011
2 <!-- TODO: * jQuery code for reply function -->
52f9cae Fix for threaded comments.
Matthias Mees authored Sep 7, 2011
3 <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 Sep 5, 2011
4 <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 Jul 27, 2011
5
6 <div class="serendipity_commentBody">
7 {if $comment.body == 'COMMENT_DELETED'}
8 {$CONST.COMMENT_IS_DELETED}
9 {else}
10 {$comment.body}
11 {/if}
12 </div>
13
14 <footer>
15 <a class="comment_source_trace" href="#c{$comment.id}">#{$comment.trace}</a>
16 {if $entry.is_entry_owner}
44b609d jQuery substitute for delete comment alert box.
Matthias Mees authored Sep 7, 2011
17 | <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 Jul 27, 2011
18 {/if}
19 {if $entry.allow_comments AND $comment.body != 'COMMENT_DELETED'}
6497e30 Added jQuery substitute for comment reply function.
Matthias Mees authored Sep 7, 2011
20 | <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 Jul 27, 2011
21 <div id="serendipity_replyform_{$comment.id}"></div>
22 {/if}
23 </footer>
24 </article>
25 {foreachelse}
26 <p class="nocomments">{$CONST.NO_COMMENTS}</p>
27 {/foreach}
Something went wrong with that request. Please try again.