template_main()
template_main()
Display the main helpdesk view of active tickets.
This function steps through the blocks defined in SimpleDesk.php to display all the blocks that potentially would be visible, noting whether blocks have been collapsed or not, and calling to the sub-subtemplates to output collapsed and noncollapsed blocks.
All the blocks here are defined in shd_main_helpdesk() (or shd_view_block() if viewing a single block) and data gathered in shd_helpdesk_listing().