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

14 lines
906 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' => $aLang.topic_title, 'count' => $iCountTopicUser ],
[ 'name' => 'comments', 'url' => "{$oUserProfile->getUserWebPath()}created/comments/", 'text' => $aLang.user_menu_publication_comment, 'count' => $iCountCommentUser ],
[ 'name' => 'notes', 'url' => "{$oUserProfile->getUserWebPath()}created/notes/", 'text' => $aLang.user_menu_profile_notes, 'count' => $iCountNoteUser, 'is_enabled' => $oUserCurrent and $oUserCurrent->getId() == $oUserProfile->getId() ]
]}