rhymix/modules/autoinstall/tpl/category.html
2011-12-08 09:18:46 +00:00

21 lines
1.1 KiB
HTML

<div class="easyNav">
<div loop="$categories => $category" cond="$category->depth == 0" class="category">
<h2>{$category->title}</h2>
<ul>
<li loop="$category->children => $children">
<block cond="$children->category_srl == $category_srl">
{@$current_category = $children->title}
<strong>{$children->title}({$children->nPackages})</strong>
</block>
<block cond="$children->category_srl != $category_srl"><a href="{getUrl('','module','admin','act','dispAutoinstallAdminIndex','category_srl',$children->category_srl,'childrenList','')}">{$children->title}({$children->nPackages})</a></block>
</li>
</ul>
</div>
<p class="filter">
<a cond="$act != 'dispAutoinstallAdminIndex'" href="{getUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminIndex')}">All({$tCount})</a>
<strong cond="$act == 'dispAutoinstallAdminIndex'">All({$tCount})</strong>
|
<a cond="$act != 'dispAutoinstallAdminInstalledPackages'" href="{getUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminInstalledPackages')}">Installed({$iCount})</a>
<strong cond="$act == 'dispAutoinstallAdminInstalledPackages'">Installed({$iCount})</strong>
</p>
</div>