{ $method->exe("ticket","user_view") }
{ if ($method->result == FALSE) } { $block->display("core:method_error") } {/if}
{if $ticket != false}
{ if $ticket.status == '3' && $smarty.const.SESS_LOGGED == false }
{elseif $ticket.status == '3' && $smarty.const.SESS_LOGGED == true}
{ $method->exe("ticket","pending_verify") }
{$pending_status}
{else}
|
{$list->date_time($ticket.date_orig)}
|
{translate module=ticket}
field_subject
{/translate}
|
{$ticket.subject}
|
{translate module=ticket}
field_body
{/translate}
|
{$ticket.body|linkalize|replace:"
":" "}
|
{if $show_static_var != false}
{foreach from=$static_var item=record}
{/foreach}
{/if}
|
{if $ticket_reply != false}
{foreach from=$ticket_reply item=reply}
|
{if $reply.staff_id > 1 }
{$list->date_time($reply.date_orig)}
{else}
{$list->date_time($reply.date_orig)}
{/if}
|
{if $reply.staff_id < 1 }
{translate module=ticket}
user_wrote
{/translate}
{else}
{translate module=ticket}
staff_wrote
{/translate}
{/if}
|
{if $reply.staff_id > 1 }
{$reply.message|linkalize|replace:"\r\n":" "}
{else}
{$reply.message|linkalize|replace:"\r\n":" "}
{/if}
|
{if $show_static_var != false}
{foreach from=$static_var item=record}
{/foreach}
{/if}
|
{/foreach}
{/if}
{/if}
{else}
{$block->display("ticket:auth")}
{/if}