mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-16 13:24:26 +03:00
15 lines
459 B
Smarty
15 lines
459 B
Smarty
{**
|
|
* Навигация по результатам поиска
|
|
*}
|
|
|
|
{$aItems = []}
|
|
|
|
{foreach $aRes.aCounts as $sType => $iCount}
|
|
{$aItems[] = [ 'name' => $sType, 'url' => "{router page='search'}{$sType}/?q={$aReq.q|escape:'html'}", 'text' => $aLang["search_results_count_$sType"], 'count' => $iCount ]}
|
|
{/foreach}
|
|
|
|
{include 'components/nav/nav.tpl'
|
|
sName = 'search'
|
|
sActiveItem = $aReq.sType
|
|
sMods = 'pills'
|
|
aItems = $aItems} |