root/branches/release-39/default_templates/recent_comments.mtml @ 2450

Revision 2450, 0.7 kB (checked in by takayama, 18 months ago)

Fixed BugId:79904
* Changed to use MTCommentLink
* Added support for filtering of no class to fetch_entries

  • Property svn:keywords set to Id Date Author Revision
Line 
1<mt:IfNonZero tag="mt:BlogCommentCount">
2    <mt:Comments lastn="10" sort_order="descend">
3        <mt:CommentsHeader>
4<div class="widget-recent-comments widget">
5    <h3 class="widget-header"><__trans phrase="Recent Comments"></h3>
6    <div class="widget-content">
7        <ul class="recent-comments-list">
8        </mt:CommentsHeader>
9            <li><__trans phrase="<a href="[_1]">[_2] commented on [_3]</a>: [_4]" params="<$mt:CommentLink$>%%<$mt:CommentAuthor$>%%<mt:CommentEntry><$mt:EntryTitle$></mt:CommentEntry>%%<$mt:CommentBody remove_html="1" trim_to="10"$>"></li>
10        <mt:CommentsFooter>
11        </ul>
12    </div>
13</div>
14        </mt:CommentsFooter>
15    </mt:Comments>
16</mt:IfNonZero>
Note: See TracBrowser for help on using the browser.