SimpleDesk API
Procedural File: SimpleDesk-Display.template.php
Source Location: /template/SimpleDesk-Display.template.phpThis file handles just displaying a ticket, its replies and working with SimpleDesk-Post.template.php to arrange the quick reply area.
Tags:
- since
- 1.0
Contains the following functions:
template_viewreplies [line 250]
void template_viewreplies (
)
Display all the replies to a ticket.
This function deals simply with viewing of replies in a ticket, including deleted replies, which is initialised in shd_view_ticket() and data gathered through the shd_prepare_ticket_context() call back, which simply deals with a single reply at a time.
Tags:
- see
- shd_view_ticket()
- see
- templaet_view_ticket()
- since
- 1.0
Return value
This function has no return value.[ Top ]
template_viewticket [line 25]
void 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.
Tags:
- see
- template_ticket_meta()
- see
- template_ticket_postbox()
- see
- shd_view_ticket()
- since
- 1.0
Return value
This function has no return value.[ Top ]



