# --
# TicketZoom.dtl - provides HTML TicketZoom for AgentZoom.pm
# Copyright (C) 2001-2003 Martin Edenhofer <martin+code@otrs.org>
#               2002 Stefan Wintermeyer <stefan@otrs.org>
# --
# $Id: AgentTicketPrint.dtl,v 1.3 2004/01/06 16:33:03 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 ticket $Data{"TicketNumber"} -->
<table border="0" width="640" cellpadding="0" cellspacing="0" bgcolor="#000000" class="container">
<tr>
  <td>
  <table border="0" width="640" cellpadding="10" cellspacing="1" bgcolor="#ffffff">
  <tr>
    <td>
<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="2">
<tr bgcolor="#ffffff">
  <td valign="top" width="100%" class="small">
  <table border="0" width="100%" cellspacing="0" cellpadding="1">
    <tr>
      <td valign="top" width="15%"><b>$Text{"From"}:</b></td>
      <td width="85%"> $Data{"Article::From"}</td>
    </tr>
    <tr>
      <td valign="top"><b>$Text{"To"}:</b></td>
      <td> $Data{"Article::To"}</td>
    </tr>
# --
# check if Cc exists
# -- 
    <dtl if ($Data{"Article::Cc"} ne "") { $Data{"ArticleCcString"} = "<tr><td valign="top"><b>$Text{"Cc"}:</b></td><td> $Data{"Article::Cc"}</td></tr>"; }>
    $Data{"ArticleCcString"}
    <tr>
      <td valign="top"><b>$Text{"Subject"}:</b></td><td> $Data{"Article::Subject"}</td>
    </tr>
# --
# show the Article::FreeKey1-3 and Article::FreeValue1-3
# --
<dtl if ($Data{"Article::FreeKey1"} ne "") { $Data{"ArticleFreeString1"} = "<tr><td valign="top"><b>$Data{"Article::FreeKey1"}:</b></td><td> $Data{"Article::FreeValue1"}</td></tr>"; }>
<dtl if ($Data{"Article::FreeKey2"} ne "") { $Data{"ArticleFreeString2"} = "<tr><td valign="top"><b>$Data{"Article::FreeKey2"}:</b></td><td> $Data{"Article::FreeValue2"}</td></tr>"; }>
<dtl if ($Data{"Article::FreeKey3"} ne "") { $Data{"ArticleFreeString3"} = "<tr><td valign="top"><b>$Data{"Article::FreeKey3"}:</b></td><td> $Data{"Article::FreeValue3"}</td></tr>"; }>
     $Data{"ArticleFreeString1"}
     $Data{"ArticleFreeString2"}
     $Data{"ArticleFreeString3"}
# --
    <tr>
      <td valign="top"><b>$Text{"Created"}:</b></td>
      <td> $Data{"Article::CreateTime"} $Text{"by"} $Data{"Article::SenderType"}</td>
    </tr>
    <tr>
      <td valign="top"><b>$Text{"Type"}:</b></td>
      <td> $Data{"Article::ArticleType"}</td>
    </tr>
    <tr>
      <td valign="top"><b>$Text{"Attachment"}:</b></td>
      <td> $Data{"Article::ATM"}</td>
    </tr>
  </table>
$Data{"Article::TextNote"}
  <pre>
$Data{"Article::Text"}
  </pre>
  </td> 
</tr>
</table>
<!-- end ticket -->
    </td>
  </tr>
  </table>
  </td>
</tr>
</table>
<br>
