1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00
Tims-Chat/template/userListUserMenu.tpl

11 lines
669 B
Smarty

{literal}
<ul data-user-id="{$user.userID}">
<li><a class="jsTimsChatUserMenuCommand" data-command="whisper">{lang}chat.global.whisper{/lang}</a></li>
<li><a class="jsTimsChatUserMenuQuery">{lang}chat.global.query{/lang}</a></li>
{if $room.permissions.canMute}<li><a class="jsTimsChatUserMenuCommand" data-command="mute">{lang}chat.global.mute{/lang}</a></li>{/if}
{if $room.permissions.canBan}<li><a class="jsTimsChatUserMenuCommand" data-command="ban">{lang}chat.global.ban{/lang}</a></li>{/if}
<li><a href="{$user.link}" class="userLink" data-user-id="{$user.userID}">{lang}chat.global.profile{/lang}</a></li>
{/literal}
{event name='menuItems'}
</ul>