Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

More CommentSpice smarty integration.

  • Loading branch information...
commit 38306233b778c16a786d2b90e343205e00b4c6b1 1 parent 90aa2a7
Matthias Mees authored July 03, 2012

Showing 2 changed files with 9 additions and 2 deletions. Show diff stats Hide diff stats

  1. 9  comments.tpl
  2. 2  info.txt
9  comments.tpl
... ...
@@ -1,6 +1,13 @@
1 1
 {foreach from=$comments item=comment name="comments"}
2 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}">
3  
-    <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>
  3
+    <header class="clearfix">
  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|@serendipity_html5time}" pubdate>{$comment.timestamp|@formatTime:$template_option.date_format}</time>:</h4>
  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>
4 11
 
5 12
     <div class="serendipity_commentBody clearfix content">
6 13
     {if $comment.avatar}{$comment.avatar}{/if}
2  info.txt
... ...
@@ -1,4 +1,4 @@
1 1
 Name: 2k11-dev
2 2
 Author: Matthias Mees, Veit Lehmann
3  
-Date: 2012-07-02
  3
+Date: 2012-07-03
4 4
 Require Serendipity: 1.6

0 notes on commit 3830623

Please sign in to comment.
Something went wrong with that request. Please try again.