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

{$layout.pagetitle}

{if $pagination->getTotal() != 0} {/if} {foreach $messagelist as $message} {foreachelse} {/foreach} {if $pagination->getTotal() != 0} {/if}
{trans("Date:")} {if $listdata.order == "cdate"}{/if} {trans("Subject:")} {if $listdata.order == "subject"}{/if} {trans("Recipients:")} {if $listdata.order == "cnt"}{/if} {t a=$listdata.total}Total: $a{/t} 
{trans("Filter:")}     {trans("Type:")}   {trans("Status:")}  »»»
{include file="pagination.html"}
{$message.cdate|date_format:"%Y/%m/%d %H:%M"} {if $message.type == $smarty.const.MSG_MAIL} {elseif $message.type == $smarty.const.MSG_WWW} {elseif $message.type == $smarty.const.MSG_USERPANEL || $message.type == $smarty.const.MSG_USERPANEL_URGENT} {else} {/if} {$message.subject} {$message.cnt|default:0} {if $message.files} {button class="toggle-file-list" type="link" icon="fileupload" tip="Show file list" resourceid={$message.filecontainerid}} {/if} {button type="link" icon="delete" class="delete-message" tip="Delete" href="?m=messagedel&id={$message.id}"} {button type="link" icon="info" tip="Info" onclick="location.href = '?m=messageinfo&id={$message.id}';"}

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

{include file="pagination.html"}
{t a=$listdata.total}Total: $a{/t} {button icon="delete" id="delete-messages" label="Delete" tip="Delete"}
{/block}