template_viewticket()
template_viewticket()
Display the main view of a ticket.
It is responsible for all the processing and display of the data gathered in shd_view_ticket() to the user, and in fact there is little to discuss other than simply displaying the ticket in given HTML.
It is also responsible for displaying attachments either to the ticket (in attachments-in-ticket mode) or to the first post (in attachments-in-replies mode), and calling upon the posting routines to set up display of 'advanced' mode in quick reply.