change filter & caption in list

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8936 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-08-30 01:12:41 +00:00
parent d53eb1e448
commit d497aa06d3
2 changed files with 12 additions and 5 deletions

View file

@ -4,15 +4,20 @@
<h2>{$category->title}</h2>
<ul>
<li loop="$category->children => $children">
<block cond="$children->category_srl == $category_srl"><strong>{$children->title}({$children->nPackages})</strong></block>
<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>
</block>
</div>
<p class="filter">
<a href="{getUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminIndex')}">All({$tCount})</a>
<a cond="$act != 'dispAutoinstallAdminIndex'" href="{getUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminIndex')}">All({$tCount})</a>
<strong cond="$act == 'dispAutoinstallAdminIndex'">All({$tCount})</strong>
|
<a href="{getUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminInstalledPackages')}">Installed({$iCount})</a>
<a cond="$act != 'dispAutoinstallAdminInstalledPackages'" href="{getUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminInstalledPackages')}">Installed({$iCount})</a>
<strong cond="$act == 'dispAutoinstallAdminInstalledPackages'">Installed({$iCount})</strong>
</p>
</div>

View file

@ -3,7 +3,9 @@
<div class="table even easyList">
<table width="100%" border="1" cellspacing="0">
<caption>
All({$page_navigation->total_count})
<block cond="$current_category">{$current_category}</block>
<block cond="!$current_category">All</block>
({sprintf('%d', $page_navigation->total_count)})
<span cond="$act == 'dispAutoinstallAdminIndex'" class="side">
<!--@if($order_target == 'newest')-->
<!--@if($order_type == 'desc')-->{@$_newest_order_type = 'asc'}<!--@else-->{@$_newest_order_type = 'desc'}<!--@end-->
@ -109,4 +111,4 @@
<input name="search_keyword" title="Search" value="{$search_keyword}" />
<input type="submit" value="Search" />
</form>
</div>
</div>