509 lines
33 KiB
Plaintext
509 lines
33 KiB
Plaintext
# --
|
|
# Copyright (C) 2001-2019 OTRS AG, https://otrs.com/
|
|
# --
|
|
# 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 https://www.gnu.org/licenses/gpl-3.0.txt.
|
|
# --
|
|
|
|
<div class="MainBox ARIARoleMain FormScreen">
|
|
|
|
<h1>[% Translate("Create New Email Ticket") | html %]</h1>
|
|
<p class="AsteriskExplanation">[% Translate("All fields marked with an asterisk (*) are mandatory.") | html %]</p>
|
|
|
|
<div class="LayoutFixedSidebar SidebarLast">
|
|
|
|
<div class="SidebarColumn">
|
|
# show customer info table
|
|
[% RenderBlockStart("CustomerTable") %]
|
|
<div id="CustomerInfo" class="WidgetSimple">
|
|
<div class="Header">
|
|
<h2>[% Translate("Customer Information") | html %]</h2>
|
|
</div>
|
|
<div class="Content">
|
|
[% Data.CustomerTable %]
|
|
</div>
|
|
</div>
|
|
[% RenderBlockEnd("CustomerTable") %]
|
|
</div>
|
|
|
|
<div class="ContentColumn">
|
|
<form action="[% Env("CGIHandle") %]" method="post" enctype="multipart/form-data" name="compose" id="NewEmailTicket" class="Validate PreventMultipleSubmits">
|
|
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
|
|
<input type="hidden" name="Subaction" value="StoreNew"/>
|
|
<input type="hidden" name="FormID" value="[% Data.FormID | html %]"/>
|
|
<input type="hidden" name="ExpandCustomerName" id="ExpandCustomerName" value="0"/>
|
|
<input type="hidden" name="OwnerAll" id="OwnerAll" value="[% Data.OwnerAll | html %]"/>
|
|
<input type="hidden" name="ResponsibleAll" id="ResponsibleAll" value="[% Data.ResponsibleAll | html %]"/>
|
|
<input type="hidden" name="PreSelectedCustomerUser" id="PreSelectedCustomerUser" value=""/>
|
|
<input type="hidden" name="SelectedCustomerUser" id="SelectedCustomerUser" value="[% Data.CustomerUser | html %]"/>
|
|
<input type="hidden" name="TicketID" value="[% Data.TicketID | html %]"/>
|
|
<input type="hidden" name="LinkTicketID" value="[% Data.LinkTicketID | html %]"/>
|
|
<fieldset class="TableLike">
|
|
|
|
# example template for customizations, see hidden form at the end of the file
|
|
# <label>[% Translate("Templates") | html %]:</label>
|
|
# <div class="Field">
|
|
# <button type="button" onclick="$('#Template1').submit()" value="[% Translate("Example Template") | html %]">[% Translate("Example Template") | html %]</button>
|
|
# </div>
|
|
# <div class="Clear"></div>
|
|
|
|
[% RenderBlockStart("TicketType") %]
|
|
<label class="Mandatory" for="TypeID"><span class="Marker">*</span> [% Translate("Type") | html %]:</label>
|
|
<div class="Field">
|
|
[% Data.TypeStrg %]
|
|
<div id="TypeIDError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
|
|
<div id="TypeIDServerError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
|
|
</div>
|
|
<div class="Clear"></div>
|
|
[% RenderBlockEnd("TicketType") %]
|
|
|
|
<label class="Mandatory" for="Dest"><span class="Marker">*</span> [% Translate("From queue") | html %]:</label>
|
|
<div class="Field">
|
|
[% Data.FromStrg %]
|
|
<div id="DestError" class="TooltipErrorMessage" ><p>[% Translate("This field is required.") | html %]</p></div>
|
|
<div id="DestServerError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
<label for="ToCustomer" class="Mandatory"><span class="Marker">*</span>[% Translate("To customer user") | html %]:</label>
|
|
<div class="Field">
|
|
<input id="ToCustomer" type="text" name="ToCustomer" value="" class="CustomerAutoComplete W75pc [% Data.ToIsLocalAddress | html %] [% Data.ToInvalid | html %]" autocomplete="off" />
|
|
<div id="ToCustomerServerError" class="TooltipErrorMessage">
|
|
[% RenderBlockStart("ToServerErrorMsg") %]
|
|
<p>[% Translate("Please include at least one customer user for the ticket.") | html %]</p>
|
|
[% RenderBlockEnd("ToServerErrorMsg") %]
|
|
|
|
[% RenderBlockStart("ToIsLocalAddressServerErrorMsg") %]
|
|
<p>[% Translate("This address is registered as system address and cannot be used: %s", Data.To) | html %]</p>
|
|
[% RenderBlockEnd("ToIsLocalAddressServerErrorMsg") %]
|
|
</div>
|
|
[% IF Data.OptionCustomerUserAddressBook %]
|
|
<a href="#" data-recipient-field-label="[% Translate("To") | html %]" data-recipient-field="ToCustomer" data-recipient-type="Email" id="OptionCustomerUserAddressBookToCustomer" class="OptionCustomerUserAddressBook AdditionlFieldIcon" title="[% Translate("Select one or more recipients from the customer user address book.") | html %]">
|
|
<span>[% Translate("Customer user address book") | html %]</span>
|
|
<i class="fa fa-address-book-o"></i>
|
|
</a>
|
|
[% END %]
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
<div class="Field [% Data.CustomerHiddenContainer | html %]">
|
|
<div class="CustomerTicketTemplateToCustomer Hidden">
|
|
<input name="CustomerSelected" title="[% Translate("Select this customer as the main customer.") | html %]" id="CustomerSelected" class="CustomerTicketRadio" type="radio" value=""/>
|
|
<input name="CustomerKey" id="CustomerKey" class="CustomerKey" type="hidden" value=""/>
|
|
<input class="CustomerTicketText Radio" title="[% Translate("To customer user") | html %]" name="CustomerTicketText" id="CustomerTicketText" type="text" value="" readonly="readonly" />
|
|
<a href="#" id="RemoveCustomerTicket" class="RemoveButton CustomerTicketRemove">
|
|
<i class="fa fa-minus-square-o"></i>
|
|
<span class="InvisibleText">[% Translate("Remove Ticket Customer User") | html %]</span>
|
|
</a>
|
|
</div>
|
|
|
|
<div id="TicketCustomerContentToCustomer" class="CustomerContainer">
|
|
<span class="BoxLabel">[% Translate("To") | html %]</span>
|
|
[% RenderBlockStart("MultipleCustomer") %]
|
|
<div>
|
|
<input name="CustomerSelected" title="[% Translate("Select this customer as the main customer.") | html %]" id="CustomerSelected" class="CustomerTicketRadio" type="radio" value="[% Data.Count | html %]" [% Data.CustomerSelected | html %] [% Data.CustomerDisabled | html %] />
|
|
<input name="CustomerKey_[% Data.Count | html %]" id="CustomerKey_[% Data.Count | html %]" class="CustomerKey" type="hidden" value="[% Data.CustomerKey | html %]"/>
|
|
<input class="CustomerTicketText Radio [% Data.CustomerError | html %]" name="CustomerTicketText_[% Data.Count %]" id="CustomerTicketText_[% Data.Count %]" type="text" value="[% Data.CustomerElement | html %]" readonly="readonly" />
|
|
<a href="#" id="RemoveCustomerTicket_[% Data.Count %]" class="RemoveButton CustomerTicketRemove">
|
|
<i class="fa fa-minus-square-o"></i>
|
|
<span class="InvisibleText">[% Translate("Remove Ticket Customer User") | html %]</span>
|
|
</a>
|
|
|
|
[% RenderBlockStart("CustomerErrorExplantion") %]
|
|
<p class="Explanation Error">[% Translate("Please remove this entry and enter a new one with the correct value.") | html %]</p>
|
|
[% RenderBlockEnd("CustomerErrorExplantion") %]
|
|
|
|
<div id="CustomerTicketText_[% Data.Count %]ServerError" class="TooltipErrorMessage">
|
|
[% RenderBlockStart("CustomerGenericServerErrorMsg") %]
|
|
<p>[% Translate("This field is required.") | html %]</p>
|
|
[% RenderBlockEnd("CustomerGenericServerErrorMsg") %]
|
|
[% RenderBlockStart("InvalidConfigServerErrorMsg") %]
|
|
<p>[% Translate("This email address is not allowed due to the system configuration.") | html %]</p>
|
|
[% RenderBlockEnd("InvalidConfigServerErrorMsg") %]
|
|
[% RenderBlockStart("InvalidMXServerErrorMsg") %]
|
|
<p>[% Translate("This email address failed MX check.") | html %]</p>
|
|
[% RenderBlockEnd("InvalidMXServerErrorMsg") %]
|
|
[% RenderBlockStart("InvalidDNSServerErrorMsg") %]
|
|
<p>[% Translate("DNS problem, please check your configuration and the error log.") | html %]</p>
|
|
[% RenderBlockEnd("InvalidDNSServerErrorMsg") %]
|
|
[% RenderBlockStart("InvalidSyntaxServerErrorMsg") %]
|
|
<p>[% Translate("The syntax of this email address is incorrect.") | html %]</p>
|
|
[% RenderBlockEnd("InvalidSyntaxServerErrorMsg") %]
|
|
[% RenderBlockStart("IsDuplicatedServerErrorMsg") %]
|
|
<p>[% Translate("This address already exists on the address list.") | html %]</p>
|
|
[% RenderBlockEnd("IsDuplicatedServerErrorMsg") %]
|
|
</div>
|
|
</div>
|
|
[% RenderBlockEnd("MultipleCustomer") %]
|
|
</div>
|
|
[% RenderBlockStart("MultipleCustomerCounter") %]
|
|
<input name="CustomerTicketCounterToCustomer" id="CustomerTicketCounterToCustomer" type="hidden" value="[% Data.CustomerCounter | html %]"/>
|
|
[% RenderBlockEnd("MultipleCustomerCounter") %]
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
<label for="CcCustomer">[% Translate("Cc") | html %]:</label>
|
|
<div class="Field">
|
|
<input id="CcCustomer" type="text" name="CcCustomer" value="" class="CustomerAutoComplete W75pc [% Data.CcIsLocalAddress | html %] [% Data.CcInvalid | html %]" autocomplete="off" />
|
|
|
|
<div id="CcCustomerServerError" class="TooltipErrorMessage">
|
|
[% RenderBlockStart("CcIsLocalAddressServerErrorMsg") %]
|
|
<p>[% Translate("This address is registered as system address and cannot be used: %s", Data.Cc) | html %]</p>
|
|
[% RenderBlockEnd("CcIsLocalAddressServerErrorMsg") %]
|
|
</div>
|
|
|
|
[% IF Data.OptionCustomerUserAddressBook %]
|
|
<a href="#" data-recipient-field-label="[% Translate("Cc") | html %]" data-recipient-field="CcCustomer" data-recipient-type="Email" id="OptionCustomerUserAddressBookCcCustomer" class="OptionCustomerUserAddressBook AdditionlFieldIcon" title="[% Translate("Select one or more recipients from the customer user address book.") | html %]">
|
|
<span>[% Translate("Customer user address book") | html %]</span>
|
|
<i class="fa fa-address-book-o"></i>
|
|
</a>
|
|
[% END %]
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
<div class="Field [% Data.CcCustomerHiddenContainer | html %]">
|
|
<div class="CustomerTicketTemplateCcCustomer SpacingTopSmall Hidden">
|
|
<input name="CcCustomerKey" id="CcCustomerKey" class="CustomerKey" type="hidden" value=""/>
|
|
<input class="CustomerTicketText" title="[% Translate("Cc") | html %]" name="CcCustomerTicketText" id="CcCustomerTicketText" type="text" value="" readonly="readonly" />
|
|
<a href="#" id="CcRemoveCustomerTicket" class="RemoveButton CustomerTicketRemove">
|
|
<i class="fa fa-minus-square-o"></i>
|
|
<span class="InvisibleText">[% Translate("Remove Cc") | html %]</span>
|
|
</a>
|
|
</div>
|
|
|
|
<div id="TicketCustomerContentCcCustomer" class="CcCustomerContainer">
|
|
<span class="BoxLabel">[% Translate("Cc") | html %]</span>
|
|
[% RenderBlockStart("CcMultipleCustomer") %]
|
|
<div>
|
|
<input name="CcCustomerKey_[% Data.Count | html %]" id="CcCustomerKey_[% Data.Count | html %]" class="CustomerKey" type="hidden" value="[% Data.CustomerKey | html %]"/>
|
|
<input class="CustomerTicketText [% Data.CustomerError | html %]" name="CcCustomerTicketText_[% Data.Count %]" id="CcCustomerTicketText_[% Data.Count %]" type="text" value="[% Data.CustomerElement | html %]" readonly="readonly" />
|
|
<a href="#" id="CcRemoveCustomerTicket_[% Data.Count %]" class="RemoveButton CustomerTicketRemove">
|
|
<i class="fa fa-minus-square-o"></i>
|
|
<span class="InvisibleText">[% Translate("Remove Cc") | html %]</span>
|
|
</a>
|
|
|
|
[% RenderBlockStart("CcCustomerErrorExplantion") %]
|
|
<p class="Explanation Error">[% Translate("Please remove this entry and enter a new one with the correct value.") | html %]</p>
|
|
[% RenderBlockEnd("CcCustomerErrorExplantion") %]
|
|
|
|
<div id="CcCustomerTicketText_[% Data.Count %]ServerError" class="TooltipErrorMessage">
|
|
[% RenderBlockStart("CcCustomerGenericServerErrorMsg") %]
|
|
<p>[% Translate("This field is required.") | html %]</p>
|
|
[% RenderBlockEnd("CcCustomerGenericServerErrorMsg") %]
|
|
[% RenderBlockStart("CcInvalidConfigServerErrorMsg") %]
|
|
<p>[% Translate("This email address is not allowed due to the system configuration.") | html %]</p>
|
|
[% RenderBlockEnd("CcInvalidConfigServerErrorMsg") %]
|
|
[% RenderBlockStart("CcInvalidMXServerErrorMsg") %]
|
|
<p>[% Translate("This email address failed MX check.") | html %]</p>
|
|
[% RenderBlockEnd("CcInvalidMXServerErrorMsg") %]
|
|
[% RenderBlockStart("CcInvalidDNSServerErrorMsg") %]
|
|
<p>[% Translate("DNS problem, please check your configuration and the error log.") | html %]</p>
|
|
[% RenderBlockEnd("CcInvalidDNSServerErrorMsg") %]
|
|
[% RenderBlockStart("CcInvalidSyntaxServerErrorMsg") %]
|
|
<p>[% Translate("The syntax of this email address is incorrect.") | html %]</p>
|
|
[% RenderBlockEnd("CcInvalidSyntaxServerErrorMsg") %]
|
|
[% RenderBlockStart("CcIsDuplicatedServerErrorMsg") %]
|
|
<p>[% Translate("This address already exists on the address list.") | html %]</p>
|
|
[% RenderBlockEnd("CcIsDuplicatedServerErrorMsg") %]
|
|
</div>
|
|
</div>
|
|
[% RenderBlockEnd("CcMultipleCustomer") %]
|
|
|
|
</div>
|
|
[% RenderBlockStart("CcMultipleCustomerCounter") %]
|
|
<input name="CustomerTicketCounterCcCustomer" id="CustomerTicketCounterCcCustomer" type="hidden" value="[% Data.CustomerCounter | html %]"/>
|
|
[% RenderBlockEnd("CcMultipleCustomerCounter") %]
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
<label for="BccCustomer">[% Translate("Bcc") | html %]:</label>
|
|
<div class="Field">
|
|
<input id="BccCustomer" type="text" name="BccCustomer" value="" class="CustomerAutoComplete W75pc [% Data.BccIsLocalAddress | html %] [% Data.BccInvalid | html %]" autocomplete="off" />
|
|
[% IF Data.OptionCustomerUserAddressBook %]
|
|
<a href="#" data-recipient-field-label="[% Translate("Bcc") | html %]" data-recipient-field="BccCustomer" data-recipient-type="Email" id="OptionCustomerUserAddressBookBccCustomer" class="OptionCustomerUserAddressBook AdditionlFieldIcon" title="[% Translate("Select one or more recipients from the customer user address book.") | html %]">
|
|
<span>[% Translate("Customer user address book") | html %]</span>
|
|
<i class="fa fa-address-book-o"></i>
|
|
</a>
|
|
[% END %]
|
|
</div>
|
|
|
|
<div id="BccCustomerServerError" class="TooltipErrorMessage">
|
|
[% RenderBlockStart("BccIsLocalAddressServerErrorMsg") %]
|
|
<p>[% Translate("This address is registered as system address and cannot be used: %s", Data.Bcc) | html %]</p>
|
|
[% RenderBlockEnd("BccIsLocalAddressServerErrorMsg") %]
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
<div class="Field [% Data.BccCustomerHiddenContainer | html %]">
|
|
<div class="CustomerTicketTemplateBccCustomer SpacingTopSmall Hidden">
|
|
<input name="BccCustomerKey" id="BccCustomerKey" class="CustomerKey" type="hidden" value=""/>
|
|
<input class="CustomerTicketText" title="[% Translate("Bcc") | html %]" name="BccCustomerTicketText" id="BccCustomerTicketText" type="text" value="" readonly="readonly" />
|
|
<a href="#" id="BccRemoveCustomerTicket" class="RemoveButton CustomerTicketRemove">
|
|
<i class="fa fa-minus-square-o"></i>
|
|
<span class="InvisibleText">[% Translate("Remove Bcc") | html %]</span>
|
|
</a>
|
|
</div>
|
|
|
|
<div id="TicketCustomerContentBccCustomer" class="BccCustomerContainer">
|
|
<span class="BoxLabel">[% Translate("Bcc") | html %]</span>
|
|
[% RenderBlockStart("BccMultipleCustomer") %]
|
|
<div>
|
|
<input name="BccCustomerKey_[% Data.Count | html %]" id="BccCustomerKey_[% Data.Count | html %]" class="CustomerKey" type="hidden" value="[% Data.CustomerKey | html %]"/>
|
|
<input class="CustomerTicketText [% Data.CustomerError | html %]" name="BccCustomerTicketText_[% Data.Count %]" id="BccCustomerTicketText_[% Data.Count %]" type="text" value="[% Data.CustomerElement | html %]" readonly="readonly" />
|
|
<a href="#" id="BccRemoveCustomerTicket_[% Data.Count %]" class="RemoveButton CustomerTicketRemove">
|
|
<i class="fa fa-minus-square-o"></i>
|
|
<span class="InvisibleText">[% Translate("Remove Bcc") | html %]</span>
|
|
</a>
|
|
|
|
[% RenderBlockStart("BccCustomerErrorExplantion") %]
|
|
<p class="Explanation Error">[% Translate("Please remove this entry and enter a new one with the correct value.") | html %]</p>
|
|
[% RenderBlockEnd("BccCustomerErrorExplantion") %]
|
|
|
|
<div id="BccCustomerTicketText_[% Data.Count %]ServerError" class="TooltipErrorMessage">
|
|
[% RenderBlockStart("BccCustomerGenericServerErrorMsg") %]
|
|
<p>[% Translate("This field is required.") | html %]</p>
|
|
[% RenderBlockEnd("BccCustomerGenericServerErrorMsg") %]
|
|
[% RenderBlockStart("BccInvalidConfigServerErrorMsg") %]
|
|
<p>[% Translate("This email address is not allowed due to the system configuration.") | html %]</p>
|
|
[% RenderBlockEnd("BccInvalidConfigServerErrorMsg") %]
|
|
[% RenderBlockStart("BccInvalidMXServerErrorMsg") %]
|
|
<p>[% Translate("This email address failed MX check.") | html %]</p>
|
|
[% RenderBlockEnd("BccInvalidMXServerErrorMsg") %]
|
|
[% RenderBlockStart("BccInvalidDNSServerErrorMsg") %]
|
|
<p>[% Translate("DNS problem, please check your configuration and the error log.") | html %]</p>
|
|
[% RenderBlockEnd("BccInvalidDNSServerErrorMsg") %]
|
|
[% RenderBlockStart("BccInvalidSyntaxServerErrorMsg") %]
|
|
<p>[% Translate("The syntax of this email address is incorrect.") | html %]</p>
|
|
[% RenderBlockEnd("BccInvalidSyntaxServerErrorMsg") %]
|
|
[% RenderBlockStart("BccIsDuplicatedServerErrorMsg") %]
|
|
<p>[% Translate("This address already exists on the address list.") | html %]</p>
|
|
[% RenderBlockEnd("BccIsDuplicatedServerErrorMsg") %]
|
|
</div>
|
|
</div>
|
|
[% RenderBlockEnd("BccMultipleCustomer") %]
|
|
|
|
</div>
|
|
[% RenderBlockStart("BccMultipleCustomerCounter") %]
|
|
<input name="CustomerTicketCounterBccCustomer" id="CustomerTicketCounterBccCustomer" type="hidden" value="[% Data.CustomerCounter | html %]"/>
|
|
[% RenderBlockEnd("BccMultipleCustomerCounter") %]
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
[% INCLUDE "CustomerCompany/TicketCustomerIDSelection.tt" Required = 0 Readonly = Config("Ticket::Frontend::AgentTicketEmail::CustomerIDReadOnly") %]
|
|
|
|
<div class="Clear"></div>
|
|
|
|
[% RenderBlockStart("TicketService") %]
|
|
[% IF Data.ServiceMandatory %]
|
|
<label class="Mandatory" for="ServiceID"><span class="Marker">*</span> [% Translate("Service") | html %]:</label>
|
|
[% ELSE %]
|
|
<label for="ServiceID">[% Translate("Service") | html %]:</label>
|
|
[% END %]
|
|
<div class="Field">
|
|
[% Data.ServiceStrg %]
|
|
[% IF Data.ServiceMandatory %]
|
|
<div id="ServiceIDError" class="TooltipErrorMessage" ><p>[% Translate("This field is required.") | html %]</p></div>
|
|
[% END %]
|
|
<div id="ServiceIDServerError" class="TooltipErrorMessage"><p>[% Translate("Service invalid.") | html %]</p></div>
|
|
</div>
|
|
<div class="Clear"></div>
|
|
[% RenderBlockEnd("TicketService") %]
|
|
|
|
[% RenderBlockStart("TicketSLA") %]
|
|
[% IF Data.SLAMandatory %]
|
|
<label class="Mandatory" for="SLAID"><span class="Marker">*</span> [% Translate("Service Level Agreement") | html %]:</label>
|
|
[% ELSE %]
|
|
<label for="SLAID">[% Translate("Service Level Agreement") | html %]:</label>
|
|
[% END %]
|
|
<div class="Field">
|
|
[% Data.SLAStrg %]
|
|
[% IF Data.SLAMandatory %]
|
|
<div id="SLAIDError" class="TooltipErrorMessage" ><p>[% Translate("This field is required.") | html %]</p></div>
|
|
[% END %]
|
|
</div>
|
|
<div class="Clear"></div>
|
|
[% RenderBlockEnd("TicketSLA") %]
|
|
|
|
[% RenderBlockStart("OwnerSelection") %]
|
|
<label for="NewUserID">[% Translate("Owner") | html %]:</label>
|
|
<div class="Field">
|
|
[% Data.OptionStrg %]
|
|
<a href="#" id="OwnerSelectionGetAll" class="GetAllAJAX" title="[% Translate("Get all") | html %]">
|
|
<span>[% Translate("Get all") | html %]</span>
|
|
<i class="fa fa-refresh"></i>
|
|
</a>
|
|
</div>
|
|
<div class="Clear"></div>
|
|
[% RenderBlockEnd("OwnerSelection") %]
|
|
|
|
[% RenderBlockStart("ResponsibleSelection") %]
|
|
<label for="NewResponsibleID">[% Translate("Responsible") | html %]:</label>
|
|
<div class="Field">
|
|
[% Data.ResponsibleOptionStrg %]
|
|
<a href="#" id="ResponsibleSelectionGetAll" class="GetAllAJAX" title="[% Translate("Get all") | html %]">
|
|
<span>[% Translate("Get all") | html %]</span>
|
|
<i class="fa fa-refresh"></i>
|
|
</a>
|
|
</div>
|
|
<div class="Clear"></div>
|
|
[% RenderBlockEnd("ResponsibleSelection") %]
|
|
|
|
[% RenderBlockStart("Option") %]
|
|
<label for="[% Data.Name | html %]">[% Translate(Data.Key) | html %]:</label>
|
|
<div class="Field">
|
|
[% Data.Value %]
|
|
<div id="[% Data.Name | html %]ServerError" class="TooltipErrorMessage"><p>[% Data.Invalid | html %]</p></div>
|
|
[% IF Data.FieldExplanation.length %]
|
|
<p class="FieldExplanation">[% Translate(Data.FieldExplanation) | html %]</p>
|
|
[% END %]
|
|
</div>
|
|
<div class="Clear"></div>
|
|
[% RenderBlockEnd("Option") %]
|
|
|
|
<label class="Mandatory" for="Subject"><span class="Marker">*</span> [% Translate("Subject") | html %]:</label>
|
|
<div class="Field">
|
|
<input type="text" class="Validate_Required [% Data.SubjectInvalid | html %] W75pc " name="Subject" id="Subject" value="[% Data.Subject | html %]"/>
|
|
<div id="SubjectError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
|
|
<div id="SubjectServerError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
[% RenderBlockStart("TicketOptions") %]
|
|
<label>[% Translate("Options") | html %]:</label>
|
|
<div class="Field">
|
|
|
|
<!-- OutputFilterHook_TicketOptionsBegin -->
|
|
[% RenderBlockStart("OptionCustomer") %]
|
|
<a href="#" id="OptionCustomer">[ [% Translate("Customer user") | html %] ]</a>
|
|
[% RenderBlockEnd("OptionCustomer") %]
|
|
|
|
<!-- OutputFilterHook_TicketOptionsEnd -->
|
|
|
|
</div>
|
|
<div class="Clear"></div>
|
|
[% RenderBlockEnd("TicketOptions") %]
|
|
|
|
<!-- OutputFilterHook_NoTicketOptionsFallback -->
|
|
|
|
[% RenderBlockStart("StandardTemplate") %]
|
|
<label for="StandardTemplateID">[% Translate("Text Template") | html %]:</label>
|
|
<div class="Field">
|
|
[% Data.StandardTemplateStrg %]
|
|
<p class="FieldExplanation">[% Translate("Setting a template will overwrite any text or attachment.") | html %]</p>
|
|
</div>
|
|
<div class="Clear"></div>
|
|
[% RenderBlockEnd("StandardTemplate") %]
|
|
|
|
<label class="Mandatory" for="RichText"><span class="Marker">*</span> [% Translate("Text") | html %]:</label>
|
|
<div id="RichTextField" class="RichTextField">
|
|
<textarea id="RichText" class="RichText Validate_Required [% Data.BodyInvalid | html %]" name="Body" title="[% Translate("Message body") | html %]" rows="15" cols="[% Config("Ticket::Frontend::TextAreaEmail") | html %]">[% Data.Body | html %]</textarea>
|
|
<div id="RichTextError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
|
|
<div id="RichTextServerError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
<label for="Signature">[% Translate("Signature") | html %]:</label>
|
|
<div class="RichTextField">
|
|
<input type="hidden" name="Signature" value="[% Data.Signature | html %]"/>
|
|
<iframe height="140" width="620" frameborder="0" id="Signature" class="Signature" src="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=Signature;QueueID=[% Data.QueueID | html %]"></iframe>
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
<label>[% Translate("Attachments") | html %]:</label>
|
|
<div class="Field">
|
|
[% INCLUDE "FormElements/AttachmentList.tt" %]
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
<label for="NextStateID">[% Translate("Next ticket state") | html %]:</label>
|
|
<div class="Field">
|
|
[% Data.NextStatesStrg %]
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
<label>[% Translate("Pending date") | html %]:</label>
|
|
<div class="Field">
|
|
[% Data.PendingDateString %]
|
|
<div id="DayServerError" class="TooltipErrorMessage"><p>[% Translate("Date invalid!") | html %]</p></div>
|
|
<div id="HourServerError" class="TooltipErrorMessage"><p>[% Translate("Date invalid!") | html %]</p></div>
|
|
<p class="FieldExplanation">[% Translate("For all pending* states.") | html %]</p>
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
<label for="PriorityID">[% Translate("Priority") | html %]:</label>
|
|
<div class="Field">
|
|
[% Data.PriorityStrg %]
|
|
</div>
|
|
<div class="Clear"></div>
|
|
|
|
[% RenderBlockStart("DynamicField") %]
|
|
<div class="Row Row_DynamicField_[% Data.Name | html %]">
|
|
[% Data.Label %]
|
|
<div class="Field">
|
|
[% Data.Field %]
|
|
</div>
|
|
<div class="Clear"></div>
|
|
</div>
|
|
[% RenderBlockEnd("DynamicField") %]
|
|
|
|
# example of how to use fixed dynamic field blocks for customizations
|
|
# Note: Field1 and Field2 are the names of the fields and had to be replaced with the actual
|
|
# field names
|
|
#[% RenderBlockStart("DynamicField_Field1") %]
|
|
# <div class="Row Row_DynamicField_[% Data.Name | html %]">
|
|
# [% Data.Label %]
|
|
# <div class="Field">
|
|
# [% Data.Field %]
|
|
# </div>
|
|
# <div class="Clear"></div>
|
|
# </div>
|
|
#[% RenderBlockEnd("DynamicField_Field1") %]
|
|
#[% RenderBlockStart("DynamicField_Field2") %]
|
|
# <div class="Row Row_DynamicField_[% Data.Name | html %]">
|
|
# [% Data.Label %]
|
|
# <div class="Field">
|
|
# [% Data.Field %]
|
|
# </div>
|
|
# <div class="Clear"></div>
|
|
# </div>
|
|
#[% RenderBlockEnd("DynamicField_Field2") %]
|
|
|
|
[% RenderBlockStart("TimeUnitsLabel") %]
|
|
<label for="TimeUnits">[% Translate("Time units") | html %] [% Translate(Config("Ticket::Frontend::TimeUnits")) | html %]:</label>
|
|
[% RenderBlockEnd("TimeUnitsLabel") %]
|
|
[% RenderBlockStart("TimeUnitsLabelMandatory") %]
|
|
<label class="Mandatory" for="TimeUnits"><span class="Marker">*</span> [% Translate("Time units") | html %] [% Translate(Config("Ticket::Frontend::TimeUnits")) | html %]:</label>
|
|
[% RenderBlockEnd("TimeUnitsLabelMandatory") %]
|
|
[% RenderBlockStart("TimeUnits") %]
|
|
<div class="Field">
|
|
<input type="text" class="W50pc Validate_TimeUnits [% Data.TimeUnitsRequired | html %] [% Data.TimeUnitsInvalid | html %]" name="TimeUnits" id="TimeUnits" value="[% Data.TimeUnits | html %]"/>
|
|
<div id="TimeUnitsError" class="TooltipErrorMessage"><p>[% Translate("Invalid time!") | html %]</p></div>
|
|
<div id="TimeUnitsServerError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
|
|
</div>
|
|
<div class="Clear"></div>
|
|
[% RenderBlockEnd("TimeUnits") %]
|
|
|
|
<div class="Field SpacingTop">
|
|
<button class="Primary CallForAction" id="submitRichText" accesskey="g" title="[% Translate("Send mail") | html %] (g)" type="submit" value="[% Translate("Send mail") | html %]" ><span><i class="fa fa-envelope-o"></i> [% Translate("Send mail") | html %]</span></button>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
<div class="Clear"></div>
|
|
</div>
|
|
<div id="CustomerTickets"></div>
|
|
</div>
|
|
|
|
# example template form for customizations
|
|
#<form action="[% Env("CGIHandle") %]" method="post" enctype="multipart/form-data" id="Template1">
|
|
# <input type="hidden" name="Action" value="[% Env("Action") %]"/>
|
|
# <input type="hidden" name="Subaction" value="StoreNew"/>
|
|
# <input type="hidden" name="FormID" value="[% Data.FormID | html %]"/>
|
|
# <input type="hidden" name="ExpandCustomerName" value="2"/>
|
|
# <input type="hidden" name="Subject" value="Example Subject"/>
|
|
# <input type="hidden" name="Body" value="Name:
|
|
#Product:
|
|
#Comment:"/>
|
|
#</form>
|