1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub-skin.git synced 2024-05-18 08:58:28 +03:00
ifhub-skin/layouts/layout.user.messages.tpl

23 lines
1 KiB
Smarty

{**
* Базовый шаблон личных сообщений
*}
{extends './layout.user.tpl'}
{block 'layout_options' append}
{$layoutNav = [[
hook => 'talk',
activeItem => $sMenuSubItemSelect,
items => [
[ 'name' => 'inbox', 'url' => "{router page='talk'}", 'text' => $aLang.talk.nav.inbox ],
[ 'name' => 'new', 'url' => "{router page='talk'}inbox/new/", 'text' => $aLang.talk.nav.new, 'count' => $iUserCurrentCountTalkNew, 'is_enabled' => $iUserCurrentCountTalkNew ],
[ 'name' => 'add', 'url' => "{router page='talk'}add/", 'text' => $aLang.talk.nav.add ],
[ 'name' => 'favourites', 'url' => "{router page='talk'}favourites/", 'text' => $aLang.talk.nav.favourites, 'count' => $iCountTalkFavourite ],
[ 'name' => 'blacklist', 'url' => "{router page='talk'}blacklist/", 'text' => $aLang.talk.nav.blacklist ]
]
]]}
{/block}
{block 'layout_user_page_title'}
{$aLang.talk.title}
{/block}