1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub-skin.git synced 2024-04-25 05:39:27 +03:00
ifhub-skin/actions/ActionProfile/favourite.topics.tpl

27 lines
732 B
Smarty
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{**
* Избранные топики пользователя
*
* @param array $topics
* @param array $paging
* @param array $activeFavouriteTag
*}
{extends 'layouts/layout.user.tpl'}
{block 'layout_user_page_title'}
{lang name='user.favourites.title'}
{/block}
{block 'layout_content' append}
{include 'navs/nav.user.favourite.tpl'}
{* Блок с тегами избранного *}
{if $oUserCurrent && $oUserCurrent->getId() == $oUserProfile->getId()}
{insert name='block' block='tagsPersonalTopic' params=[
'user' => $oUserProfile,
'activeTag' => $activeFavouriteTag
]}
{/if}
{component 'topic' template='list' topics=$topics paging=$paging}
{/block}