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

Commit

Permalink
Experimental comments by author page template.
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowled committed Oct 9, 2012
1 parent 1ab6ce0 commit 62d7827
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions comments_by_author.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<h2>{$CONST.COMMENTS}</h2>
{foreach from=$comments_by_authors item="entry_comments"}
<article class="clearfix serendipity_entry">
<h3><a href="{$entry_comments.link}">{$entry_comments.title|@default:$entry_comments.link}</a></h3>
<div class="comments_for_entry">{$entry_comments.tpl_comments}</div>
</article>
{/foreach}
{if $footer_info or $footer_prev_page or $footer_next_page}
<nav class="serendipity_pagination comments_by_author_pagination">
<ul class="clearfix">
{if $footer_info}
<li class="info"><span>{$footer_info}</span></li>
{/if}
<li class="prev">{if $footer_prev_page}<a href="{$footer_prev_page}">{/if}{if $footer_prev_page}&larr; {$CONST.PREVIOUS_PAGE}{else}&nbsp;{/if}{if $footer_prev_page}</a>{/if}</li>
<li class="next">{if $footer_next_page}<a href="{$footer_next_page}">{/if}{if $footer_next_page}{$CONST.NEXT_PAGE} &rarr;{else}&nbsp;{/if}{if $footer_next_page}</a>{/if}</li>
</ul>
</nav>
{/if}
{serendipity_hookPlugin hook="comments_by_author_footer" hookAll="true"}

0 comments on commit 62d7827

Please sign in to comment.