mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
25 lines
977 B
Smarty
25 lines
977 B
Smarty
{literal}
|
|
<time>{@$formattedTime}</time>
|
|
<span class="usernameContainer">
|
|
<span class="username">{*
|
|
*}{if $type != 7}{*
|
|
*}{@$formattedUsername}{*
|
|
*}{else}
|
|
{if $receiver == WCF.User.userID}
|
|
{@$formattedUsername}
|
|
{/if}
|
|
<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}{*
|
|
*}</span>{*
|
|
*}{if $receiver != WCF.User.userID}{*
|
|
*}<span class="separator">{$separator}</span>
|
|
{/if}
|
|
</span>
|
|
<span class="text">{@$formattedMessage}</span>
|
|
<span class="markContainer">
|
|
<input type="checkbox" value="{@$messageID}" />
|
|
</span>
|
|
{/literal}
|