Permalink
Browse files

More CommentSpice smarty integration.

  • Loading branch information...
1 parent 90aa2a7 commit 38306233b778c16a786d2b90e343205e00b4c6b1 @yellowled committed Jul 3, 2012
Showing with 9 additions and 2 deletions.
  1. +8 −1 comments.tpl
  2. +1 −1 info.txt
View
9 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}
View
2 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.