{extends "base.tpl.html"} {block "title"}#{$issue_id} - Reply{/block} {block "javascripts" append} {include file="include/dropzone.tpl.html" form="sendEmailForm" param="dropfile"} {/block} {block "content"} {if $send_result|default:'' != ''}
{if $send_result == -1} {t}An error occurred while trying to run your query{/t} {elseif $send_result == -2} {t}Sorry, but the email could not be queued. This might be related to problems with your SMTP account settings.{/t}
{t}Please contact the administrator of this application for further assistance.{/t}
{elseif $send_result == 1} {t}Thank you, the email was queued to be sent successfully.{/t} {/if}

{if not $core.current_user_prefs.close_popup_windows}
{t}Continue{/t}
{/if} {elseif $draft_result|default:'' != ''}
{if $draft_result|default:'' == -1} {t}An error occurred while trying to run your query{/t} {elseif $draft_result|default:'' == 1} {t}Thank you, the email message was saved as a draft successfully.{/t} {/if}

{if not $core.current_user_prefs.close_popup_windows}
{t}Continue{/t}
{/if} {else}
{if $smarty.get.cat|default:'' == 'view_draft'} {/if} {if $draft_status|default:'' == 'sent'} {elseif $draft_status|default:'' == 'edited'} {/if} {if $core.current_role != $core.roles.customer and $canned_responses|@count > 0 and $read_only|default:'' != 1} {/if} {if $issue_id|default:'' and $core.current_role > $core.roles.customer and $read_only|default:'' != 1} {if $hide_email_buttons|default:'' != 'yes'} {/if} {/if} {if $hide_email_buttons|default:'' != 'yes'} {/if} {if $issue_id|default:'' and $core.current_role != $core.roles.customer} {/if}
{if $smarty.get.cat|default:'' == 'create_draft'} {t}Create Draft{/t} {else} {t}Send Email{/t} {/if}
{t}From{/t} {$from|escape:"html"}
{t}To{/t} * {if $issue_id|default:'' == ''} {include file="error_icon.tpl.html" field="to"} {else} {t escape=no 1=$issue_id 2="{$core.rel_url}view.php?id={$issue_id}" }Issue #%1 Notification List{/t} ({t 1=$subscribers.all}Members: %1{/t}) {/if}
{t}Cc{/t} {include file="error_icon.tpl.html" field="cc"}
{if $issue_id|default:'' and $core.current_role != $core.roles.customer and $read_only|default:'' != 1}
{else} {/if}
{t}Subject{/t} * {include file="error_icon.tpl.html" field="subject"}
{t}Canned Responses{/t}  
{include file="error_icon.tpl.html" field="message"}
Attachment
{if empty($smarty.get.legacy)} {t}Drop files here or click to upload.{/t} {/if}
{t 1=$max_attachment_size}Note: The current maximum allowed upload file size is %1{/t}
{t}New Status for Issue{/t} #{$issue_id}
{t}Time Spent{/t} ({t}in minutes{/t})
{t}Time Summary{/t} {include file="error_icon.tpl.html" field="time_summary"}
{if $read_only|default:'' != 1}    {/if}
{if not $core.current_user_prefs.auto_append_email_sig and $core.current_user_prefs.email_signature} {/if}
{if $read_only|default:'' != 1} {if $smarty.get.cat|default:'' == 'view_draft'} {else} {/if} {/if}
* {t}Required fields{/t}
{/if} {/block}