Skip to content
This repository has been archived by the owner on Apr 24, 2018. It is now read-only.

Commit

Permalink
More CommentSpice smarty integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowled committed Jul 3, 2012
1 parent 90aa2a7 commit 3830623
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion comments.tpl
@@ -1,6 +1,13 @@
{foreach from=$comments item=comment name="comments"}
<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}">
<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_html5time}" pubdate>{$comment.timestamp|@formatTime:$template_option.date_format}</time>:</h4>
<header class="clearfix">
<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_html5time}" pubdate>{$comment.timestamp|@formatTime:$template_option.date_format}</time>:</h4>
{if $comment.spice_twitter_name}
<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>
{if $comment.spice_twitter_followme}{$comment.spice_twitter_followme}{/if}
</div>
{/if}
</header>

<div class="serendipity_commentBody clearfix content">
{if $comment.avatar}{$comment.avatar}{/if}
Expand Down
2 changes: 1 addition & 1 deletion info.txt
@@ -1,4 +1,4 @@
Name: 2k11-dev
Author: Matthias Mees, Veit Lehmann
Date: 2012-07-02
Date: 2012-07-03
Require Serendipity: 1.6

0 comments on commit 3830623

Please sign in to comment.