1
0
This commit is contained in:
Matthias Gutjahr
2013-07-26 12:43:09 +02:00
parent 55f10e2a09
commit c9e9d93f92
2 changed files with 3 additions and 1 deletions

View File

@ -267,6 +267,7 @@ function serendipity_fetchComments($id, $limit = null, $order = '', $showAll = f
e.timestamp AS entrytimestamp,
e.id AS entryid,
e.authorid,
e.author as entryauthor,
co.id AS commentid,
co.parent_id AS parent_id,
co.status

View File

@ -1,6 +1,7 @@
<h2 class="visuallyhidden">{$CONST.COMMENTS}</h2>
{foreach from=$comments_by_authors item="entry_comments"}
<article class="clearfix serendipity_entry">
<article class="clearfix serendipity_entry{if $entry_comments.entryauthor == $entry_comments.author} serendipity_comment_author_self{/if}">
{$entry_comments.authorid}
<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>