root/branches/release-36/default_templates/recent_comments.mtml @ 2052

Revision 2052, 0.8 kB (checked in by fumiakiy, 19 months ago)

Integrated Widget Manager to the core. BugId:68750

Now a widgetset is another type of template. The widgets contained in a widgetset is stored in a meta field.

  • 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>
10                <__trans phrase="<a href="[_1]">[_2] commented on [_3]</a>: [_4]" params="<mt:CommentEntry><$mt:EntryPermalink$></mt:CommentEntry>#comment-<$mt:CommentID$>%%<$mt:CommentAuthor$>%%<mt:CommentEntry><$mt:EntryTitle$></mt:CommentEntry>%%<$mt:CommentBody remove_html="1" trim_to="10"$>">
11            </li>
12        <mt:CommentsFooter>
13        </ul>
14    </div>
15</div>
16        </mt:CommentsFooter>
17    </mt:Comments>
18</mt:IfNonZero>
Note: See TracBrowser for help on using the browser.