Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Experimental comments by author page template.

  • Loading branch information...
commit 62d7827601a4d2fa4d300a8ac38d65c554cb5863 1 parent 1ab6ce0
@yellowled authored
Showing with 19 additions and 0 deletions.
  1. +19 −0 comments_by_author.tpl
View
19 comments_by_author.tpl
@@ -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"}
Please sign in to comment.
Something went wrong with that request. Please try again.