{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content} {$xajax}

{$layout.pagetitle}

{if !empty($message.customers)} {/if} {if !empty($message.customers)} {if count($message.customers) == 1} {$customer = reset($message.customers)} {/if} {else} {/if} {if $message.emailcount} {/if} {if $message.phonecount} {/if} $smarty.const.MSG_MAIL} style="display: none;"{/if}> $smarty.const.MSG_MAIL} style="display: none;"{/if}> {if $users} {/if} $smarty.const.MSG_MAIL && $message.type < $smarty.const.MSG_WWW} style="display: none"{/if}> $smarty.const.MSG_ANYSMS} style="display: none"{/if}> $smarty.const.MSG_ANYSMS} style="display: none"{/if}> $smarty.const.MSG_MAIL} style="display: none"{/if}>
{trans("Type:")} {if $message.emailcount || empty($message.customers)} {/if} {if $message.phonecount || empty($message.customers)} {/if}
{$customer.name} ({$customer.customerid|string_format:"%04d"})
{if empty($nodes)} {else} {trans("Node:")} {/if}
{trans("Sender E-mail:")}
{trans("Sender:")}
{trans("Subject:")}
{trans("Message template:")}
{trans("Message body:")}
{trans("Message body:")}
   

{trans("Characters:")} 0
{trans("Attachments:")} {fileupload id="files" fileupload=$fileupload form="message"}
{button icon="quick-send" id="submit-try" label="Send" onclick="submit_try({ConfigHelper::getConfig('phpui.send_message_confirm_threshold',50)});"}
{/block}