1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
|
# --
# AgentTicketMerge.dtl - provides HTML form for ticket merge mask
# Copyright (C) 2001-2007 OTRS GmbH, http://otrs.org/
# --
# $Id: AgentTicketMerge.dtl,v 1.11 2007/01/09 03:24:16 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 -->
<script language="JavaScript" type="text/javascript">
<!--
function submit_compose() {
if (document.compose.MainTicketNumber.value == "") {
alert('$JSText{"You need to use a ticket number!"}');
document.compose.Subject.focus();
return false;
}
else {
return true;
}
}
//-->
</script>
<table border="0" width="100%" cellspacing="0" cellpadding="3">
<tr>
<td class="mainhead">
$Env{"Box0"}$Text{"Ticket Merge"}: $QData{"TicketNumber"}$Env{"Box1"}
</td>
</tr>
<tr>
<td class="menu">
<!-- dtl:block:TicketBack -->
<a href="$Env{"Baselink"}$Env{"LastScreenView"}" onmouseover="window.status='$JSText{"Back"}'; return true;" onmouseout="window.status='';" class="menuitem">$Text{"Back"}</a>
<!-- dtl:block:TicketBack -->
<!-- dtl:block:PropertiesLock -->
<img border="0" src="$Env{"Images"}warning.png" alt="$Text{"Info"}">: <font color="red">$Text{"Ticket locked!"}</font> (<a href="$Env{"Baselink"}Action=AgentTicketLock&Subaction=Unlock&TicketID=$Data{"TicketID"}" onmouseover="window.status='$JSText{"Ticket unlock!"}'; return true;" onmouseout="window.status=''; ">$Text{"Ticket unlock!"}</a>)
<!-- dtl:block:PropertiesLock -->
</td>
</tr>
<tr>
<td class="mainbody">
<br>
<form action="$Env{"CGIHandle"}" method="post" enctype="multipart/form-data" name="compose">
<input type="hidden" name="Action" value="AgentTicketMerge">
<input type="hidden" name="Subaction" value="Merge">
<input type="hidden" name="TicketID" value="$Data{"TicketID"}">
<table border="0" width="800" align="center" cellspacing="0" cellpadding="4">
<tr>
<td colspan="2" class="contenthead">$Text{"Options"}</td>
</tr>
<tr>
<td class="contentbody">
<table border="0">
<tr>
<td class="contentkey">$Text{"Merge to"} $Config{"Ticket::Hook"}:</td>
<td class="contentvalue"><input type="text" name="MainTicketNumber" value="$QData{"MainTicketNumber"}" size="30"></td>
</tr>
<tr>
<td class="contentkey">$Text{"Inform sender"}:</td>
<td class="contentvalue"><input type="checkbox" name="InformSender" value="1"></td>
</tr>
<tr>
<td class="contentkey">$Text{"From"}:</td>
<td class="contentvalue">$QData{"QueueFrom"}<input type="hidden" name="From" value="$QData{"QueueFrom"}" size="60"></td>
</tr>
<tr>
<td class="contentkey">$Text{"To"}:</td>
<td class="contentvalue"><input type="text" name="To" value="$QData{"From"}" size="60"></td>
</tr>
<tr>
<td class="contentkey">$Text{"Subject"}:</td>
<td class="contentvalue"><input type="text" name="Subject" value="$QData{"Subject"}" size="60"></td>
</tr>
<tr>
<td class="contentkey">$Text{"Text"}:</td>
<td class="contentvalue">
<textarea name="Body" rows="15" cols="$Config{"Ticket::Frontend::TextAreaEmail"}" wrap="$Env{"BrowserWrap"}">
$Data{"Salutation"}
$Text{"$Config{"Ticket::Frontend::MergeText"}"}
$Data{"Signature"}
</textarea>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="contentfooter">
<input class="button" accesskey="g" type="submit" value="$Text{"Submit"}" onclick="return submit_compose();">
</td>
</tr>
</table>
</form>
<br>
</td>
</tr>
</table>
<!-- end form -->
|