2013-05-30 19:48:34 +00:00
|
|
|
{literal}
|
2013-06-23 17:45:20 +00:00
|
|
|
<div class="innerMessageContainer{if $type == 0 || $type == 7} bubble{/if}">
|
2013-06-23 16:48:48 +00:00
|
|
|
<div class="userAvatar framed">
|
|
|
|
{if $type == 0 || $type == 7}
|
|
|
|
{@$avatar[32]}
|
|
|
|
{else}
|
|
|
|
{@$avatar[16]}
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
<div class="innerMessage">
|
|
|
|
<span class="username">
|
|
|
|
{@$formattedUsername}
|
|
|
|
{if $type == 7}
|
2013-06-08 14:18:01 +00:00
|
|
|
<span class="icon icon16 icon-double-angle-right jsTooltip" 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>
|
2013-06-23 16:48:48 +00:00
|
|
|
{$additionalData.receiverUsername}
|
|
|
|
{/if}
|
|
|
|
</span>
|
|
|
|
<time>{@$formattedTime}</time>
|
|
|
|
{if $type == 0 || $type == 7}
|
|
|
|
<ul>
|
|
|
|
<li class="text">{@$formattedMessage}</li>
|
|
|
|
</ul>
|
|
|
|
{else}
|
|
|
|
<span class="text">{@$formattedMessage}</span>
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
<span class="markContainer">
|
|
|
|
<input type="checkbox" value="{@$messageID}" />
|
|
|
|
</span>
|
|
|
|
</div>
|
2013-05-30 19:48:34 +00:00
|
|
|
{/literal}
|