Backport fix for comment_author_self.
This commit is contained in:
parent
0c044d6bc8
commit
a7a70ca90a
@ -2,26 +2,23 @@
|
|||||||
{if $footer_prev_page}
|
{if $footer_prev_page}
|
||||||
<a href="{$footer_prev_page}">« {$CONST.PREVIOUS_PAGE}</a>  
|
<a href="{$footer_prev_page}">« {$CONST.PREVIOUS_PAGE}</a>  
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{if $footer_info}
|
{if $footer_info}
|
||||||
({$footer_info})
|
({$footer_info})
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{if $footer_next_page}
|
{if $footer_next_page}
|
||||||
<a href="{$footer_next_page}">» {$CONST.NEXT_PAGE}</a>
|
<a href="{$footer_next_page}">» {$CONST.NEXT_PAGE}</a>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{serendipity_hookPlugin hook="comments_by_author_footer" hookAll="true"}
|
{serendipity_hookPlugin hook="comments_by_author_footer" hookAll="true"}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="comments_by_author">
|
<div class="comments_by_author">
|
||||||
{foreach from=$comments_by_authors item="entry_comments"}
|
{foreach from=$comments_by_authors item="entry_comments"}
|
||||||
|
<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>
|
<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! *}
|
||||||
{* tpl_comments is the parsed "comments.tpl" template! *}
|
<div class="comments_for_entry">
|
||||||
<div class="comments_for_entry">{$entry_comments.tpl_comments}</div>
|
{$entry_comments.tpl_comments}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user