{extend name="../../base/view/common/base" /} {block name="style"} {/block} {block name="body"}
{if condition="$id eq 0"}

New Message

Recipient Type
To*
To Department*
To Position*
CC
Subject*
Message*
Attachments
{else/}

Edit Message

Recipient Type
To*
To Department*
To Position*
CC
Subject*
Message* {if condition="($detail.msg_id > 0)"} {notempty name="$detail.from_file_array"} {/notempty}
Quoted Message {$detail.from_content}
Quoted Attachments
{volist name="$detail.from_file_array" id="vo"}
{:file_card($vo,'view')}
{/volist}
{/if}
Attachments
{notempty name="$detail.file_ids"} {volist name="$detail.file_array" id="vo"}
{:file_card($vo)}
{/volist} {/notempty}
{/if}
{/block} {block name="script"} {/block}