{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content} {$xajax} {$group_action=is_array($message.ticketid)}

{$layout.pagetitle}

{if $group_action} {foreach $message.ticketid as $ticketid} {/foreach} {else} {/if} {box_container id="message"} {box_header icon="img/mail.gif" label="Subject:"} {/box_header} {box_contents} {box_panel} {if !$group_action} {box_row icon="img/users.gif" label="Requestor:"} {/box_row} {box_row icon="img/email.gif" label="Recipient's e-mail:"} {/box_row} {/if} {box_row icon="img/docum.gif" label="Message template:" id="message-template-row" field_id="message-templates" visible=!empty($messagetemplates)} {include file="rt/rtmessagetemplates.html" templates=$messagetemplates} {/box_row} {block name="rtmessageadd-content"} {box_row icon="img/edit.gif" label="Content:"} {/box_row} {/block} {box_row icon="img/attach.gif" label="Attachments:"} {fileupload id="files" fileupload=$fileupload form="message-form"} {/box_row} {/box_panel} {/box_contents} {box_buttons} {button type="submit" icon="save" accesskey="s" onclick="javascript:document.message.submit();" label="Submit/Send"} {button icon="cancel" onclick="location.href = '?m=rtticketview&id={$message.ticketid}';" label="Cancel"} {/box_buttons} {/box_container} {box_container id="properties"} {box_contents} {box_panel} {box_row icon="img/mail.gif" label="Notify users:" labelid="notify"} {/box_row} {box_row id="customernotify-row" icon="img/mail.gif" label="Notify customer:" labelid="customernotify"} {/box_row} {if $message.phonefrom || $group_action} {box_row icon="img/phone.gif" label="Notify customer via SMS:" labelid="smsnotify"} {/box_row} {/if} {box_row icon="img/dead.gif" label="Status:"}   {/box_row} {box_row icon="img/desc.gif" label="Cause:"} {/box_row} {if !$group_action} {box_row icon="img/volcano.png" label="Ticket source:"} {/box_row} {/if} {box_row icon="img/report.gif" label="Priority:"} {/box_row} {if !$group_action} {box_row icon="img/queue.gif" label="Queue:"} {/box_row} {box_row icon="img/users.gif" label="Owner:"}   {/box_row} {/if} {box_row icon="img/verifier.png" label="Verifier:" field_id="rtverifiers"} {if $group_action || !$ticket.verifierid || $ticket.verifierid == $layout.logid} {else} {$ticket.verifier_username} {/if} {/box_row} {box_row icon="img/calendar.gif" label="Deadline:"} {if $group_action || ConfigHelper::checkConfig('phpui.helpdesk_allow_all_users_modify_deadline') || !$ticket.verifierid || $ticket.verifierid == $layout.logid} {else} {if $message.deadline}{$message.deadline|date_format:"%Y/%m/%d %H:%M"}{else}{trans("- none -")}{/if} {/if} {/box_row} {box_row icon="img/queue.gif" label="Category changes:"} {/box_row} {box_row id="categories" icon="img/queue.gif" label="Categories:" class="categories"} {foreach $categories as $category} {/foreach} {/box_row} {/box_panel} {/box_contents} {/box_container}
{if !$group_action} {include file="rt/rtticketmessagesbox.html"} {/if} {/block}