2
2
# AgentTicketSearchResult.dtl - provides HTML form for AgentTicketUtilities
3
# Copyright (C) 2001-2005 Martin Edenhofer <martin+code@otrs.org>
3
# Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
5
# $Id: AgentTicketSearchResult.dtl,v 1.1 2005/02/17 07:01:15 martin Exp $
5
# $Id: AgentTicketSearchResult.dtl,v 1.7 2006/10/12 10:16:00 martin Exp $
7
7
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
8
8
# the enclosed file COPYING for license information (GPL). If you
9
9
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
12
11
<table border="0" width="100%" cellspacing="0" cellpadding="3">
15
$Env{"Box0"}$Text{"Search Result"}$Env{"Box1"}
20
<a href="$Env{"Baselink"}Action=$Env{"Action"}&Subaction=LoadProfile&$QData{"Link"}">$Text{"Change search options"}</a> -
21
$Text{"Results"}: <b>$QData{"Result"}</b> - $Text{"Total hits"}: <b>$Data{"TotalHits"}</b>
22
- $Text{"Site"}: $Data{"SiteNavBar"}
14
$Env{"Box0"}$Text{"Search Result"}$Env{"Box1"}
19
<a href="$Env{"Baselink"}Action=$Env{"Action"}&Subaction=LoadProfile&$QData{"Link"}">
20
$Text{"Change search options"}
22
- $Text{"Results"}: <b>$QData{"Result"}</b> - $Text{"Total hits"}: <b>$Data{"TotalHits"}</b>
23
- $Text{"Page"}: $Data{"SiteNavBar"}
28
27
<!-- dtl:block:Record -->
29
28
<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="2">
31
<td align="left" width="50%" class="mainhead">
32
$Env{"Box0"}$Config{"Ticket::Hook"}: $Data{"TicketNumber"}$Env{"Box1"}
34
<td align="right" width="50%" class="mainhead">
35
$Env{"Box0"}$Text{"Age"}: $Data{"Age"}$Env{"Box1"}
40
<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="2">
42
<td width="70%" class="menu">
43
<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> -
44
<a href="$Env{"Baselink"}Action=AgentTicketHistory&TicketID=$Data{"TicketID"}&QueueID=$Data{"QueueID"}" onmouseover="window.status='$Text{"History"}'; return true;" onmouseout="window.status='';" class="menuitem">$Text{"History"}</a>
47
<td align="right" width="30%" class="menu">
48
<table border="0" cellspacing="0" cellpadding="0">
50
<td class="mainkey">$Text{"Created"}:</td>
51
<td class="mainvalue"> $TimeLong{"$Data{"Created"}"}</td>
58
<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="2">
60
<td align="left" width="75%" class="mainbody">
61
<table border="0" width="100%" cellspacing="0" cellpadding="1">
63
<td width="15%"><b>$Text{"From"}:</b></td>
64
<td> $Data{"From"}</td>
67
<td><b>$Text{"To"}:</b></td>
71
<td><b>$Text{"Subject"}:</b></td>
72
<td> $Data{"Subject"}</td>
30
<td align="left" width="50%" class="mainhead">
31
$Env{"Box0"}$Config{"Ticket::Hook"}: $Data{"TicketNumber"}$Env{"Box1"}
32
<!-- dtl:block:Title-->
34
<!-- dtl:block:Title-->
36
<td align="right" width="50%" class="mainhead">
37
$Env{"Box0"}$Text{"Age"}: $Data{"Age"}$Env{"Box1"}
41
<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="2">
43
<td width="70%" class="menu">
44
<a href="$Env{"Baselink"}Action=AgentTicketZoom&TicketID=$Data{"TicketID"}&ArticleID=$Data{"ArticleID"}&QueueID=$Data{"QueueID"}" onmouseover="window.status='$JSText{"Zoom"}'; return true;" onmouseout="window.status='';" class="menuitem">$Text{"Zoom"}</a> -
45
<a href="$Env{"Baselink"}Action=AgentTicketHistory&TicketID=$Data{"TicketID"}&QueueID=$Data{"QueueID"}" onmouseover="window.status='$JSText{"History"}'; return true;" onmouseout="window.status='';" class="menuitem">$Text{"History"}</a>
47
<td align="right" width="30%" class="menu">
48
<table border="0" cellspacing="0" cellpadding="0">
50
<td class="mainkey">$Text{"Created"}:</td>
51
<td class="mainvalue"> $TimeLong{"$Data{"Created"}"}</td>
57
<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="2">
59
<td align="left" width="75%" class="mainbody">
60
<table border="0" width="100%" cellspacing="0" cellpadding="1">
62
<td width="15%"><b>$Text{"From"}:</b></td>
63
<td> $Data{"From"}</td>
66
<td><b>$Text{"To"}:</b></td>
70
<td><b>$Text{"Subject"}:</b></td>
71
<td> $Data{"Subject"}</td>
80
<td align="left" valign="top" width="25%" class="PriorityID-$Data{"PriorityID"}">
83
<td><b>$Text{"State"}:</b></td>
84
<td><font color="red"><div title="$Quote{"$Text{"$Data{"State"}"}"}">$Quote{"$Text{"$Data{"State"}"}","15"}</div></font></td>
87
<td><b>$Text{"Priority"}:</b></td>
88
<td><font color="red"><div title="$Quote{"$Text{"$Data{"Priority"}"}"}">$Quote{"$Text{"$Data{"Priority"}"}","15"}</div></font></td>
91
<td><b>$Text{"Queue"}:</b></td>
92
<td><font color="red"><div title="$Quote{"$Data{"Queue"}"}">$Quote{"$Data{"Queue"}","15"}</div></font></td>
95
<td><b>$Text{"CustomerID"}:</b></td>
96
<td><a href="$Config{"CustomerDBLink"}" $Config{"CustomerDBLinkTarget"}>$Quote{"$Data{"CustomerID"}","15"}</a></td>
99
<p align="left"><hr><b>$Text{"Customer Info"}:</b> $Data{"CustomerTable"}<hr></p>
79
<td align="left" valign="top" width="25%" class="PriorityID-$Data{"PriorityID"}">
82
<td><b>$Text{"State"}:</b></td>
83
<td><font color="red"><div title="$Quote{"$Text{"$Data{"State"}"}"}">$Quote{"$Text{"$Data{"State"}"}","15"}</div></font></td>
86
<td><b>$Text{"Priority"}:</b></td>
87
<td><font color="red"><div title="$Quote{"$Text{"$Data{"Priority"}"}"}">$Quote{"$Text{"$Data{"Priority"}"}","15"}</div></font></td>
90
<td><b>$Text{"Queue"}:</b></td>
91
<td><font color="red"><div title="$Quote{"$Data{"Queue"}"}">$Quote{"$Data{"Queue"}","15"}</div></font></td>
94
<td><b>$Text{"CustomerID"}:</b></td>
95
<td><a href="$Config{"CustomerDBLink"}" $Config{"CustomerDBLinkTarget"}>$Quote{"$Data{"CustomerID"}","15"}</a></td>
98
<p><hr><b>$Text{"Customer Info"}:</b> $Data{"CustomerTable"}<hr></p>
103
102
<!-- dtl:block:Record -->