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

{$layout.pagetitle}

{if $message.customerid} {else} {/if} {if $message.emails} {/if} {if $message.phones} {/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.emails || !isset($message.customerid)} $smarty.const.MSG_ANYSMS} checked{/if} {tip trigger="type" text="Select message type"}> {/if} {if $message.phones || !isset($message.customerid)} {/if}
{$message.customer} ({$message.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();"}
{/block}