1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 01:14:24 +03:00
ifhub.club/application/frontend/skin/developer/components/tags/tags.tpl
2014-10-22 21:56:53 +07:00

21 lines
586 B
Smarty

{**
* Список тегов
*}
{$component = 'tags'}
{if $smarty.local.tags}
<ul class="tag-list js-tags-topic-{$smarty.local.targetId}" data-type="{$smarty.local.targetType}" data-id="{$smarty.local.targetId}">
<li class="tag-list-item tag-list-item-label">{$aLang.tags.tags}:</li>
{strip}
{block 'tags_list'}
{foreach $smarty.local.tags as $tag}
<li class="tag-list-item tag-list-item-tag">
{if ! $tag@first}, {/if}<a rel="tag" href="{router page='tag'}{$tag|escape:'url'}/">{$tag|escape}</a>
</li>
{/foreach}
{/block}
{/strip}
</ul>
{/if}