{extends file="layout.html"}
{block name=title}LMS: {$layout.pagetitle|striphtml}{/block}
{block name=module_content}
<!-- $Id$ -->
<H1>{$layout.pagetitle|escape}</H1>

{include file="rt/rtticketinfobox.html"}
{include file="rt/rtticketmessagesbox.html"}

<table class="lmsbox">
	<TFOOT>
	<TR>
		<TD style="width: 100%;" class="navigation" colspan="3">
			{if $ticket.prev_ticketid != NULL}
				{button href="?m=rtticketview&id={$ticket.prev_ticketid}" icon="previous" label="Previous ticket"}
			{else}
				{button icon="previous" label="Previous ticket" disabled=true}
			{/if}

			{if $ticket.next_ticketid != NULL}
				{button href="?m=rtticketview&id={$ticket.next_ticketid}" label="Next ticket" icon="next"}
			{else}
				{button icon="next" label="Next ticket" disabled=true}
			{/if}
		</TD>
	</TR>
	</TFOOT>
</table>

{/block}
