# --
# AgentUtilSearchResult.dtl - provides HTML form for AgentUtilities.pm
# Copyright (C) 2001-2004 Martin Edenhofer <martin+code@otrs.org>
# --
# $Id: AgentUtilSearchResult.dtl,v 1.16 2004/02/12 00:26:19 martin Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --
<!-- start form -->
<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="2">
<tr>
  <td align="left" width="50%" class="table0">
    <b>$Env{"Box0"}$Config{"TicketHook"}: $Data{"TicketNumber"}$Env{"Box1"}</b>
  </td>
  <td align="right" width="50%" class="table0">
    <b>$Env{"Box0"}$Text{"Age"}: $Data{"Age"}$Env{"Box1"}</b>
  </td>
</tr>
</table>

<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="2">
<tr> 
  <td align="left" valign="top" width="70%" class="table2">
    <a href="$Env{"Baselink"}Action=AgentZoom&TicketID=$Data{"TicketID"}&ArticleID=$Data{"ArticleID"}&QueueID=$Data{"QueueID"}" onmouseover="window.status='$Text{"Zoom"}'; return true;" onmouseout="window.status='';" class="menuitem">$Text{"Zoom"}</a> -
    <a href="$Env{"Baselink"}Action=AgentHistory&TicketID=$Data{"TicketID"}&QueueID=$Data{"QueueID"}" onmouseover="window.status='$Text{"History"}'; return true;" onmouseout="window.status='';" class="menuitem">$Text{"History"}</a> 
  </td>

  <td align="right" valign="top" width="30%" class="table2">
    <b>$Text{"Created"}:</b> $TimeLong{"$Data{"Created"}"}
  </td>
</tr>
</table>

<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="2">
<tr> 
  <td align="left" valign="top" width="75%" class="table1">
  <table border="0" width="100%" cellspacing="0" cellpadding="1">
    <tr>
      <td width="15%"><b>$Text{"From"}:</b></td>
      <td> $Data{"From"}</td>
    </tr>
    <tr> 
      <td><b>$Text{"To"}:</b></td>
      <td> $Data{"To"}</td>
    </tr>
    <tr>
      <td><b>$Text{"Subject"}:</b></td>
      <td> $Data{"Subject"}</td>
    </tr>
  </table>
$Data{"TextNote"}
<div class="message">
$Data{"Body"}
</div>
  </td> 
  <td align="left" valign="top" width="25%" class="PriorityID-$Data{"PriorityID"}">
    <table border="0">
    <tr>
      <td><b>$Text{"State"}:</b></td>
      <td><font color="red"><div title="$Quote{"$Text{"$Data{"State"}"}"}">$Quote{"$Text{"$Data{"State"}"}","15"}</div></font></td>
    </tr>
    <tr>
      <td><b>$Text{"Priority"}:</b></td>
      <td><font color="red"><div title="$Quote{"$Text{"$Data{"Priority"}"}"}">$Quote{"$Text{"$Data{"Priority"}"}","15"}</div></font></td>
    </tr>
    <tr>
      <td><b>$Text{"Queue"}:</b></td>
      <td><font color="red"><div title="$Quote{"$Data{"Queue"}"}">$Quote{"$Data{"Queue"}","15"}</div></font></td>
    </tr>
    <tr>
      <td><b>$Text{"CustomerID"}:</b></td>
      <td><a href="$Config{"CustomerDBLink"}" $Config{"CustomerDBLinkTarget"}>$Quote{"$Data{"CustomerID"}","15"}</a></td>
    </tr>
    </table>
    <p align="left"><hr><b>$Text{"Customer Info"}:</b> $Data{"CustomerTable"}<hr></p>
  </td>
</tr>
</table>
<!-- end form -->
