Backport fix for comment_author_self.
This commit is contained in:
parent
bfc333624d
commit
19388f063c
@ -2,26 +2,23 @@
|
||||
{if $footer_prev_page}
|
||||
<a href="{$footer_prev_page}">« {$CONST.PREVIOUS_PAGE}</a>  
|
||||
{/if}
|
||||
|
||||
{if $footer_info}
|
||||
({$footer_info})
|
||||
{/if}
|
||||
|
||||
{if $footer_next_page}
|
||||
<a href="{$footer_next_page}">» {$CONST.NEXT_PAGE}</a>
|
||||
{/if}
|
||||
|
||||
{serendipity_hookPlugin hook="comments_by_author_footer" hookAll="true"}
|
||||
</div>
|
||||
|
||||
<div class="comments_by_author">
|
||||
{foreach from=$comments_by_authors item="entry_comments"}
|
||||
|
||||
<h4 class="serendipity_title"><a href="{$entry_comments.link}">{$entry_comments.title|@default:$entry_comments.link}</a></h4>
|
||||
|
||||
{* tpl_comments is the parsed "comments.tpl" template! *}
|
||||
<div class="comments_for_entry">{$entry_comments.tpl_comments}</div>
|
||||
|
||||
<div class="serendipity_entry{if $entry_comments.entryauthor == $entry_comments.author} serendipity_comment_author_self{/if}">
|
||||
<h4 class="serendipity_title"><a href="{$entry_comments.link}">{$entry_comments.title|@default:$entry_comments.link}</a></h4>
|
||||
{* tpl_comments is the parsed "comments.tpl" template! *}
|
||||
<div class="comments_for_entry">
|
||||
{$entry_comments.tpl_comments}
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user