Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 28 lines (26 sloc) 1.65 kb
c0bf2485 » Matthias Mees
2011-09-12 Lang constants for permalinks to comments.
1 {assign var="plinktext" value=$CONST.TWOK11_PLINK_TEXT}
2 {assign var="plinktitle" value=$CONST.TWOK11_PLINK_TITLE}
da9748f9 » Matthias Mees
2011-07-27 Initial version.
3 {foreach from=$comments item=comment name="comments"}
9dbf5d48 » Matthias Mees
2011-09-08 Some horizontal whitespace to ventilate the design a little (min-widt…
4 <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}">
a7e313ee » Matthias Mees
2011-09-13 Added a smarty modifier to emit proper HTML5 timezone offset for time…
5 <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|@serendipity_smarty_html5time}" pubdate>{$comment.timestamp|@formatTime:$template_option.date_format}</time>:</h4>
da9748f9 » Matthias Mees
2011-07-27 Initial version.
6
70403074 » Matthias Mees
2011-11-25 Fixed avatar display in comments.
7 <div class="serendipity_commentBody clearfix content">
da9748f9 » Matthias Mees
2011-07-27 Initial version.
8 {if $comment.body == 'COMMENT_DELETED'}
9 {$CONST.COMMENT_IS_DELETED}
10 {else}
11 {$comment.body}
12 {/if}
13 </div>
14
15 <footer>
c0bf2485 » Matthias Mees
2011-09-12 Lang constants for permalinks to comments.
16 <a class="comment_source_trace" href="#c{$comment.id}" title="{$plinktitle}">{$plinktext}</a>
da9748f9 » Matthias Mees
2011-07-27 Initial version.
17 {if $entry.is_entry_owner}
44b609d7 » Matthias Mees
2011-09-07 jQuery substitute for delete comment alert box.
18 | <a class="comment_source_ownerlink" href="{$comment.link_delete}" title="{$CONST.COMMENT_DELETE_CONFIRM|@sprintf:$comment.id:$comment.author}">{$CONST.DELETE}</a>
da9748f9 » Matthias Mees
2011-07-27 Initial version.
19 {/if}
20 {if $entry.allow_comments AND $comment.body != 'COMMENT_DELETED'}
6497e30f » Matthias Mees
2011-09-07 Added jQuery substitute for comment reply function.
21 | <a class="comment_reply" href="#serendipity_CommentForm" id="serendipity_reply_{$comment.id}"{if $comment_onchange != ''} onclick="{$comment_onchange}"{/if}>{$CONST.REPLY}</a>
da9748f9 » Matthias Mees
2011-07-27 Initial version.
22 <div id="serendipity_replyform_{$comment.id}"></div>
23 {/if}
24 </footer>
25 </article>
26 {foreachelse}
27 <p class="nocomments">{$CONST.NO_COMMENTS}</p>
28 {/foreach}
Something went wrong with that request. Please try again.