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

Revision 2052, 0.9 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:IfArchiveTypeEnabled archive_type="Category">
2<div class="widget-archive widget-archive-category widget">
3    <h3 class="widget-header"><__trans phrase="Categories"></h3>
4    <div class="widget-content">
5    <mt:TopLevelCategories>
6        <mt:SubCatIsFirst>
7        <ul class="widget-list">
8        </mt:SubCatIsFirst>
9        <mt:IfNonZero tag="mt:CategoryCount">
10            <li class="widget-list-item"><a href="<$mt:CategoryArchiveLink$>"<mt:IfNonEmpty tag="mt:CategoryDescription"> title="<$mt:CategoryDescription$>"</mt:IfNonEmpty>><__trans phrase="[_1] ([_2])" params="<$mt:CategoryLabel$>%%<$mt:CategoryCount$>"></a>
11        <mt:Else>
12            <li class="widget-list-item"><$mt:CategoryLabel$>
13        </mt:IfNonZero>
14        <$mt:SubCatsRecurse$>
15            </li>
16        <mt:SubCatIsLast>
17        </ul>
18        </mt:SubCatIsLast>
19    </mt:TopLevelCategories>
20    </div>
21</div>
22</mt:IfArchiveTypeEnabled>
Note: See TracBrowser for help on using the browser.