Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 39 lines (36 sloc) 2.3 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-width:1...
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}">
3830623 Matthias Mees More CommentSpice smarty integration.
authored
3 <header class="clearfix">
bc10f44 Matthias Mees Styles for CommentSpice Twitter widget.
authored
4 <h4{if $comment.spice_twitter_name} class="short-heading"{/if}>{if $comment.url}<a href="{$comment.url}">{/if}{$comment.author|@default:$CONST.ANONYMOUS}{if $comment.url}</a>{/if} {$CONST.ON} <time datetime="{$comment.timestamp|@serendipity_html5time}" pubdate>{$comment.timestamp|@formatTime:$template_option.date_format}</time>:</h4>
3830623 Matthias Mees More CommentSpice smarty integration.
authored
5 {if $comment.spice_twitter_name}
6 <div class="twitter_follow"><a href="{$comment.spice_twitter_url}"{if $comment.spice_twitter_nofollow} rel="nofollow"{/if}><span class="visuallyhidden">@{$comment.spice_twitter_name}</span></a>
7 {if $comment.spice_twitter_followme}{$comment.spice_twitter_followme}{/if}
8 </div>
9 {/if}
10 </header>
997bd48 Matthias Mees Removed trailing spaces.
authored
11
7040307 Fixed avatar display in comments.
Matthias Mees authored
12 <div class="serendipity_commentBody clearfix content">
646e093 Matthias Mees Added support for smartified garavatars including a JS fix.
authored
13 {if $comment.avatar}{$comment.avatar}{/if}
da9748f Initial version.
Matthias Mees authored
14 {if $comment.body == 'COMMENT_DELETED'}
15 {$CONST.COMMENT_IS_DELETED}
16 {else}
17 {$comment.body}
18 {/if}
19 </div>
997bd48 Matthias Mees Removed trailing spaces.
authored
20
da9748f Initial version.
Matthias Mees authored
21 <footer>
beff5a1 Added time to comment footer.
Matthias Mees authored
22 <time>{$comment.timestamp|@formatTime:'%H:%M'}</time>
23 | <a class="comment_source_trace" href="#c{$comment.id}" title="{$CONST.TWOK11_PLINK_TITLE}">{$CONST.TWOK11_PLINK_TEXT}</a>
da9748f Initial version.
Matthias Mees authored
24 {if $entry.is_entry_owner}
44b609d jQuery substitute for delete comment alert box.
Matthias Mees authored
25 | <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
26 {/if}
bd89302 Matthias Mees New theme option: Add a link to related comment to comments which are a ...
authored
27 {if $template_option.refcomments == true}
28 {if $comment.parent_id != '0'}
29 | <a class="reply_origin" href="#c{$comment.parent_id}" title="{$CONST.TWOK11_REPLYORIGIN}: {$CONST.COMMENT} #c{$comment.parent_id}">{$CONST.TWOK11_REPLYORIGIN}</a>
30 {/if}
31 {/if}
6497e30 Added jQuery substitute for comment reply function.
Matthias Mees authored
32 | <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
33 <div id="serendipity_replyform_{$comment.id}"></div>
34 </footer>
35 </article>
36 {foreachelse}
37 <p class="nocomments">{$CONST.NO_COMMENTS}</p>
38 {/foreach}
Something went wrong with that request. Please try again.