Available Fields:
{ref} : Ticket reference
{name} : Users name
{username} : Users username
{email} : Users email
{handlername} : Handlers name
{handlerusername} : Handlers username
{handleremail} : Handlers email
{subject} : Ticket subject including link to ticket details
{icons}* : Ticket info icons, including locked, tags etc
{product} : Product name
{department} : Department
{category} : Category
{customX}* : Custom field, where X is the ID of the custom field, eg, custom5 to display field with ID 5
{custom}* : All custom fields set to display in list
{opened}* : Date and time ticket was opened
{closed}* : Date and time ticket was closed
{lastactivity}* : Last activity date and time on ticket
{priority} : Priority
{status} : Status
{trhl}* : Put this within each <tr> tag used. Sets up the mouse over and a few other things.
Example <tr {trhl}><td>{name}</td></td>
Advanced customization
{view} : Current view. Values are: 'open', 'followup', 'waiting', 'allopen', 'closed', 'archive'.
This is used to customize the ticket list based on what view is selected.
{showassigned} : If user can only view their own tickets
{hidehandler} : If the hide ticket handler settings is set
{candelete} : If the can delete setting is set
{archivebutton}* : Shows archive button
{deletebutton}* : Show delete button
{if,field,value,operator}HTML{endif} : If statement. field should be one of the fields above.
Value should be a string or number, enclosed in speech marks ("). If value is blank, then compares against
an empty string. Operator is equals if empty, other values: 'not' for not equals. Fileds with a * cannot
be used in an if statement.
This HTML code will be output within a <table> element, so
needs to be in the format <tr {trhl}><td>{name}</td></td>