{style} {literal} .ow_mailbox_attachment_icon { display: inline-block; background-repeat: no-repeat; cursor: pointer; width: 14px; height: 17px; } .mailbox_attachments_label { margin: 15px 0 5px; padding-left: 5px; font-weight: bold; } {/literal} {/style} {script} {literal} $('#toggle_attach_link').click(function(){ $('#attach_file_inputs').toggle(); }); DND_InterfaceFix.fix($(".ow_mailbox_message")); {/literal} {/script} {$mailbox_menu}
{text key='mailbox+conversation_label'}

{$conversation.subject}

{text key='mailbox+between'} {text key='mailbox+you'} {text key='mailbox+and'} {$conversation.opponentDisplayName}
{block_decorator name="box" type="empty" addClass="ow_stdmargin"} {foreach from=$messageList item=message} {if $message.senderUrl} {decorator name='ipc' addClass='ow_smallmargin ow_mailbox_message' avatar=$avatars[$message.senderId] data=$message infoString="`$message.senderDisplayName` `$message.timeStamp`"} {else} {decorator name='ipc' addClass='ow_smallmargin ow_mailbox_message' avatar=$avatars[$message.senderId] data=$message infoString="`$message.senderDisplayName` `$message.timeStamp`"} {/if} {if !empty($attachmentList[$message.id])}
{text key='mailbox+attachments'}:
{foreach from=$attachmentList[$message.id] item='attm'}   {if $attm.downloadUrl != ''}{$attm.fileName}{else}{$attm.fileName}{/if} ({$attm.fileSize/1024|string_format:"%.1f"}Kb)
{/foreach}
{/if} {/foreach} {/block_decorator} {if $writeMessage==true} {block_decorator name="box_cap" iconClass="ow_ic_write" langLabel='mailbox+compose_message'}{/block_decorator} {block_decorator name="box" addClass='ow_stdmargin'}
{form name="mailbox-add-message-form" }
{input name="message"}
{error name="message"}
{if $enableAttachments}
{text key='mailbox+attach_files'}

{input name='attachments'}
{/if}
{submit name="add"}
{/form}
{/block_decorator} {/if} {block_decorator name="box" type="empty" addClass="ow_txtright" style="padding:5px 0;"}
{if $conversation.isOpponentLastMessage==true} {decorator name="button" buttonName="mark_unread" class="ow_ic_push_pin" langLabel="mailbox+keep_unread_button"} {/if} {decorator name="button_list_item" type="submit" buttonName="delete" class="ow_red" langLabel="mailbox+delete_conversation_button"}
{/block_decorator}