{if $ave15} {include file="$codemirror_connect"} {else} {literal} {/literal} {/if} {literal} {/literal}
{#contacts#}
{#mod_info#}
{#history#}: {$subject}
{assign var=item value=$dialog.request} {if $dialog.response} {foreach from=$dialog.response item=item} {/foreach} {else} {/if}
{#request#}
{if $item.user_name} [{$item.user_name}] {if $item.firstname || $item.lastname}{$item.firstname} {$item.lastname}{/if}
{/if} {$email}
{$date|date_format:$TIME_FORMAT|pretty_date}
{if $item.format=='text'}
{$item.body}
{else} {$item.body} {/if}
{if $dialog.response|@count == 1}{#response#}{else}{#responses#}{/if}
{if $item.user_name} [{$item.user_name}] {if $item.firstname || $item.lastname}{$item.firstname} {$item.lastname}{/if}
{/if} {#from#} {$item.from_email} <{$item.from_name|escape}>
{$item.date|date_format:$TIME_FORMAT|pretty_date}
{if $item.format=='text'}
{$item.body}
{else} {$item.body} {/if}
{if $status!=='replied'}{#set_replied#} {else} {#marked_replied#} {/if}
{#write_response#}
{**}
{#from_name#}:
{#from_email#}:
{#mfld_subject#}:
{#format#}:
{#body#}
| OL | UL | LI | P | B | I | H1 | H2 | H3 | H4 | H5 | DIV | A | IMG | SPAN | PRE | BR | TAB |
{#attach#}
    {#return_dialogs#}
{literal} {/literal} {assign var=cdmr_id value=response_body} {assign var=cdmr_h value=300} {if $ave15} {include file="$codemirror_editor" ctrls='response_save();' conn_id="_$cdmr_id" textarea_id=$cdmr_id height=$cdmr_h} {else} {/if}