{include file="header.html"}

{$layout.pagetitle}

{if $message.sender} {/if}
{trans("Subject:")} {$message.subject}
{trans("User:")} {if $message.userid} {$message.name} {else}LMS{/if}
{trans("Creation date:")} {$message.cdate|date_format:"%Y/%m/%d %H:%m"}
{trans("Sender:")} {$message.sender|escape:"html"}
{trans("Message body:")}
{$message.body|replace:"\n":"
"}
{trans("Cancel")}

{if $listdata.total != 0} {/if} {cycle values="light,lucid" print=false} {section name=itemlist loop=$itemlist start=$start max=$pagelimit} {assign var=item value=$itemlist[itemlist]} {sectionelse} {/section} {if $listdata.total != 0} {/if}
{trans("Customer:")} {if $listdata.order eq "customer"}{/if} {trans("Destination:")} {if $listdata.order eq "destination"}{/if} {trans("Status:")} ({trans("Error message")}) {if $listdata.order eq "status"}{/if} {t a=$listdata.total}Total: $a{/t} 
{trans("Filter:")}     {trans("Status:")}  »»»
{include file="scroller.html" loop=$itemlist scrollerno=1}
{if $item.customerid} {$item.customer|truncate:45:"...":true} ({$item.customerid|string_format:"%04d"}) {else} {trans("none")} {/if} {$item.destination|escape} {if $item.status == $smarty.const.MSG_SENT} {trans("sent")} {elseif $item.status == $smarty.const.MSG_ERROR} {trans("errornous")}{if $item.error} ({$item.error|escape}){/if} {else} {trans("waiting")} {/if}

 

{trans("No such recipients in database.")}

 

{include file="scroller.html" loop=$itemlist scrollerno=2}
{t a=$listdata.total}Total: $a{/t}
{include file="footer.html"}