mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 17:34:26 +03:00
18 lines
536 B
Smarty
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} |