root/branches/release-41/default_templates/category_archive_list.mtml @ 2648

Revision 2648, 0.8 kB (checked in by bsmith, 17 months ago)

bugzid:80286 - making lists and list-items in wigets more genericly marked up

  • 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>
8        </mt:SubCatIsFirst>
9        <mt:If tag="CategoryCount">
10            <li><a href="<$mt:CategoryArchiveLink$>"<mt:If tag="CategoryDescription"> title="<$mt:CategoryDescription$>"</mt:If>><__trans phrase="[_1] ([_2])" params="<$mt:CategoryLabel$>%%<$mt:CategoryCount$>"></a>
11        <mt:Else>
12            <li><$mt:CategoryLabel$>
13        </mt:If>
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.