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/tags-favourite/tags-cloud.tpl
2014-12-06 20:30:08 +07:00

21 lines
614 B
Smarty

{**
* Избранные теги пользователя
*
* @param array $tags
* @param object $user
* @param object $activeTag
*}
{$user = $smarty.local.user}
{$activeTag = $smarty.local.activeTag}
{include 'components/tags/tag-cloud.tpl'
tags = $smarty.local.tags
url = '{$user->getUserWebPath()}favourites/topics/tag/{$tag->getText()|escape:\'url\'}/'
active = $activeTag
assign = tags}
{include 'components/accordion/accordion.tpl' classes='js-tags-favourite-accordion' items=[[
'title' => "{lang 'favourite_tags.title'} {if $activeTag}({$activeTag}){/if}",
'content' => $tags
]]}