1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 17:34:26 +03:00
ifhub.club/application/frontend/skin/developer/components/nav/nav.tabs.tpl
2014-08-27 23:28:49 +07:00

18 lines
536 B
Smarty

{**
* Табы
*}
{foreach $smarty.local.aItems as $aItem}
{$aItem['attributes'] = "{$aItem['attributes']} data-type=\"tab\" data-tab-url=\"{$aItem['url']}\" data-tab-target=\"{$aItem['pane']}\""}
{$aItem['url'] = "#"}
{$_aTabItems[] = $aItem}
{/foreach}
{include './nav.tpl'
sName = $smarty.local.sName
sActiveItem = $smarty.local.sActiveItem
sMods = $smarty.local.sMods
sClasses = $smarty.local.sClasses
sAttributes = "data-type=\"tabs\" {$smarty.local.sAttributes}"
aItems = $_aTabItems}