ifhub-skin/actions/ActionProfile/favourite.topics.tpl

25 lines
681 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.favourite.tpl'}
{block 'layout_user_page_title'}
{lang 'user.favourites.title'}
{/block}
{block 'layout_content' append}
{* Блок с тегами избранного *}
{if $oUserCurrent && $oUserCurrent->getId() == $oUserProfile->getId()}
{insert name='block' block='tagsPersonalTopic' params=[
'user' => $oUserProfile,
'activeTag' => $activeFavouriteTag
]}
{/if}
{component 'topic.list' topics=$topics paging=$paging}
{/block}