2013-06-19 16:32:58 +03:00
|
|
|
{**
|
|
|
|
* Навигация в профиле пользователя в разделе "Публикации"
|
|
|
|
*}
|
|
|
|
|
2014-04-28 13:31:49 +03:00
|
|
|
{include 'components/nav/nav.tpl'
|
2014-10-16 10:31:34 +03:00
|
|
|
name = 'profile_created'
|
|
|
|
activeItem = $sMenuSubItemSelect
|
|
|
|
mods = 'pills'
|
|
|
|
hookArguments = [ 'oUserProfile' => $oUserProfile ]
|
|
|
|
items = [
|
|
|
|
[ '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 ],
|
2014-11-05 17:45:27 +02:00
|
|
|
[ 'name' => 'notes', 'url' => "{$oUserProfile->getUserWebPath()}created/notes/", 'text' => {lang name='user.publications.nav.notes'}, 'count' => $iCountNoteUser, 'is_enabled' => $oUserCurrent && $oUserCurrent->getId() == $oUserProfile->getId() ]
|
2014-10-16 10:31:34 +03:00
|
|
|
]}
|