2009-01-10 21:11:09 +02:00
|
|
|
<ul class="menu">
|
|
|
|
|
|
|
|
<li {if $sAction=='profile'}class="active"{/if}>
|
2011-05-05 19:21:19 +03:00
|
|
|
<a href="{$oUserProfile->getUserWebPath()}">{$aLang.user_menu_profile}</a>
|
2009-01-10 21:11:09 +02:00
|
|
|
{if $sAction=='profile'}
|
|
|
|
<ul class="sub-menu" >
|
2011-05-05 19:21:19 +03:00
|
|
|
<li {if $aParams[0]=='whois' or $aParams[0]==''}class="active"{/if}><div><a href="{$oUserProfile->getUserWebPath()}">{$aLang.user_menu_profile_whois}</a></div></li>
|
2011-04-27 19:00:25 +03:00
|
|
|
<li {if $aParams[0]=='favourites' and $aParams[1]!='comments'}class="active"{/if}><div><a href="{router page='profile'}{$oUserProfile->getLogin()}/favourites/">{$aLang.user_menu_profile_favourites}</a>{if $iCountTopicFavourite} ({$iCountTopicFavourite}){/if}</div></li>
|
2009-08-22 00:45:31 +03:00
|
|
|
<li {if $aParams[1]=='comments'}class="active"{/if}><div><a href="{router page='profile'}{$oUserProfile->getLogin()}/favourites/comments/">{$aLang.user_menu_profile_favourites_comments}</a>{if $iCountCommentFavourite} ({$iCountCommentFavourite}){/if}</div></li>
|
2010-07-07 15:45:41 +03:00
|
|
|
{hook run='menu_profile_profile_item'}
|
2009-01-10 21:11:09 +02:00
|
|
|
</ul>
|
|
|
|
{/if}
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
<li {if $sAction=='my'}class="active"{/if}>
|
2009-08-19 21:27:36 +03:00
|
|
|
<a href="{router page='my'}{$oUserProfile->getLogin()}/">{$aLang.user_menu_publication} {if ($iCountCommentUser+$iCountTopicUser)>0} ({$iCountCommentUser+$iCountTopicUser}){/if}</a>
|
2009-01-10 21:11:09 +02:00
|
|
|
{if $sAction=='my'}
|
|
|
|
<ul class="sub-menu" >
|
2009-08-19 21:27:36 +03:00
|
|
|
<li {if $aParams[0]=='blog' or $aParams[0]==''}class="active"{/if}><div><a href="{router page='my'}{$oUserProfile->getLogin()}/">{$aLang.user_menu_publication_blog}</a>{if $iCountTopicUser}({$iCountTopicUser}){/if}</div></li>
|
|
|
|
<li {if $aParams[0]=='comment'}class="active"{/if}><div><a href="{router page='my'}{$oUserProfile->getLogin()}/comment/">{$aLang.user_menu_publication_comment}</a>{if $iCountCommentUser}({$iCountCommentUser}){/if}</div></li>
|
2010-07-07 15:45:41 +03:00
|
|
|
{hook run='menu_profile_my_item'}
|
2009-01-10 21:11:09 +02:00
|
|
|
</ul>
|
|
|
|
{/if}
|
|
|
|
</li>
|
2010-05-01 19:29:37 +03:00
|
|
|
{hook run='menu_profile'}
|
2009-01-10 21:11:09 +02:00
|
|
|
</ul>
|