Файл: templates/_default_/modules/mod_usermenu.tpl
Строк: 53
<div class="mod_user_menu">
<span
class="my_profile">
<a href="{profile_url
login=$login}">{$nickname}</a>
</span>
{if
$is_billing}
<span class="my_balance">
<a href="{profile_url login=$login}#upr_p_balance"
title="Баланс">{if
$balance}{$balance}{else}0{/if}</a>
</span>
{/if}
{if $users_cfg.sw_msg}
<span
class="my_messages">
{if $newmsg.total}
<a class="has_new" href="/users/{$id}/messages{if
!$newmsg.messages}-notices{/if}.html"
title="{$LANG.NEW_MESSAGES}: {$newmsg.messages}, {$LANG.NEW_NOTICES}:
{$newmsg.notices}">{$LANG.USERMENU_MESS}
({$newmsg.total})</a>
{else}
<a
href="/users/{$id}/messages.html">{$LANG.USERMENU_MESS}</a>
{/if}
</span>
{/if}
{if
$users_cfg.sw_blogs}
<span class="my_blog">
<a
href="/blogs/my_blog.html">{$LANG.USERMENU_MY_BLOG}</a>
</span>
{/if}
{if $users_cfg.sw_photo}
<span
class="my_photos">
<a
href="/users/{$id}/photoalbum.html">{$LANG.USERMENU_PHOTOS}</a>
</span>
{/if}
{if $is_can_add && !$is_admin}
<span class="my_content">
<a
href="/content/my.html">{$LANG.USERMENU_ARTICLES}</a>
</span>
<span class="add_content">
<a
href="/content/add.html">{$LANG.USERMENU_ADD_ARTICLE}</a>
</span>
{/if}
{if $is_admin}
<span
class="admin">
<a href="/admin"
target="_blank">{$LANG.USERMENU_ADMININTER}</a>
</span>
{/if}
<span class="logout">
<a href="/logout">{$LANG.USERMENU_EXIT}</a>
</span>
</div>