1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-05 16:04:24 +03:00
ifhub.club/application/frontend/skin/developer/navs/nav.user.created.tpl
2014-08-05 21:28:16 +07:00

14 lines
949 B
Smarty

{**
* Навигация в профиле пользователя в разделе "Публикации"
*}
{include 'components/nav/nav.tpl'
sName = 'profile_created'
sActiveItem = $sMenuSubItemSelect
sMods = 'pills'
aHookArguments = [ 'oUserProfile' => $oUserProfile ]
aItems = [
[ 'name' => 'topics', 'url' => "{$oUserProfile->getUserWebPath()}created/topics/", 'text' => {lang name='user.publications.nav.topics'}, 'count' => $iCountTopicUser ],
[ 'name' => 'comments', 'url' => "{$oUserProfile->getUserWebPath()}created/comments/", 'text' => {lang name='user.publications.nav.comments'}, 'count' => $iCountCommentUser ],
[ 'name' => 'notes', 'url' => "{$oUserProfile->getUserWebPath()}created/notes/", 'text' => {lang name='user.publications.nav.notes'}, 'count' => $iCountNoteUser, 'is_enabled' => $oUserCurrent and $oUserCurrent->getId() == $oUserProfile->getId() ]
]}