mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Insert whisper command when hitting the icon
This commit is contained in:
parent
2c6a5c0c69
commit
b27f7589c6
@ -8,7 +8,7 @@
|
||||
{if $receiver == WCF.User.userID}
|
||||
{@$formattedUsername}
|
||||
{/if}
|
||||
<span class="icon icon16 icon-double-angle-right" title="{/literal}{lang}chat.ui.whispers{/lang}{literal}"></span>
|
||||
<span class="icon icon16 icon-double-angle-right" title="{/literal}{lang}chat.ui.whispers{/lang}{literal}" onclick="be.bastelstu.Chat.insertText('/whisper {if $receiver == WCF.User.userID}{$username.replace("\\", "\\\\").replace("'", "\\'")}{else}{$additionalData.receiverUsername.replace("\\", "\\\\").replace("'", "\\'")}{/if}, ', { append: false });"></span>
|
||||
{if $receiver != WCF.User.userID}
|
||||
{$additionalData.receiverUsername}{/if}{*
|
||||
*}{/if}{*
|
||||
|
Loading…
Reference in New Issue
Block a user