{literal} {/literal}

{$lang['viewing_ticket']}

{$lang['print']}{if $t['links']} | {$t['links']}{/if}
{$t['subject']}
{if $cdfields_left} {foreach $cdfields_left $cdfl} {if $cdfl['colspan']}{/if} {if $cdfields_right[ $cdfl['count'] ]} {/if} {/foreach} {/if}
{$lang['ticket_id']} {$t['id']} {$lang['replies']} {$t['replies']}
{$lang['priority']} {$t['priority']} {$lang['last_reply']} {$t['last_reply']}
{$lang['department']} {$cache['depart'][ $t['did'] ]['name']} {$lang['last_replier']} {$t['last_mname']}
{$lang['submitted']} {$t['date']} {$lang['status']} {$t['status_human']}
{$cdfl['name']} {$cdfl['value']}
{$cdfields_right[ $cdfl['count'] ]['name']} {$cdfields_right[ $cdfl['count'] ]['value']}
{if $t['close_reason']}
{$lang['close_msg_a']} {$t['close_mname']} {$lang['close_msg_b']}

{$t['close_reason']}
{/if}
"{$t['subject']}" by {$t['mname']}{if $member['g_ticket_edit']}  ({$lang['edit']}){/if}
{$t['message']}
{if $t['attach_id']}
+ {$lang['attachment_b']}
{/if} {if $replies} {foreach $replies $r}
{$r['mname']} -- {$r['date']}
{$r['message']}
{if $r['attach_id']}
+ {$lang['attachment_b']}
{/if} {/foreach} {else}
{$lang['no_replies']}
{/if}
{if $t['status'] != 6} {if $error}
{$error}
{/if}
{$lang['send_reply']}
{$token_ticket_reply}
{if $cache['config']['ticket_attachments'] && $member['g_ticket_attach'] && $cache['depart'][ $t['did'] ]['can_attach']}
{$upload_info}
{/if}
{/if}