From df2febaff3da0b336f944e166339276f8796feaf Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 21 Jan 2015 05:58:16 +0100 Subject: Modules/AdminDefaultTo: Add module to manage DefaultTo entries Add admin frontend module, template and appropriate config to manage the DefaultTo entries via the admin web interface. --- Kernel/Output/HTML/Standard/AdminDefaultTo.tt | 212 ++++++++++++++++++++++++++ 1 file changed, 212 insertions(+) create mode 100644 Kernel/Output/HTML/Standard/AdminDefaultTo.tt (limited to 'Kernel/Output/HTML/Standard/AdminDefaultTo.tt') diff --git a/Kernel/Output/HTML/Standard/AdminDefaultTo.tt b/Kernel/Output/HTML/Standard/AdminDefaultTo.tt new file mode 100644 index 0000000..04e4c91 --- /dev/null +++ b/Kernel/Output/HTML/Standard/AdminDefaultTo.tt @@ -0,0 +1,212 @@ +# -- +# AdminDefaultTo.tt - provides HTML form for AdminDefaultTo +# Copyright (C) 2015 Alexander Sulfrian +# -- +# This software comes with ABSOLUTELY NO WARRANTY. For details, see +# the enclosed file COPYING for license information (AGPL). If you +# did not receive this file, see http://www.gnu.org/licenses/agpl.txt. +# -- + +[% RenderBlockStart("Overview") %] +
+

[% Translate("Manage DefaultTo") | html %]

+ +
+[% RenderBlockStart("ActionList") %] +
+

[% Translate("Actions") | html %]

+
+ +
+
+[% RenderBlockStart("Filter") %] +
+
+

+
+
+ +
+
+[% RenderBlockEnd("Filter") %] +[% RenderBlockEnd("ActionList") %] + +
+
+

[% Translate("Hint") | html %]

+
+
+ +

+ [% Translate("With DefaultTo you could change or extend the default To address in a ticket response dependent on the used template.") | html %] +

+

+ [% Translate("Attention") | html %]: + [% Translate("Don't forget to add new DefaultTo entries to templates.") | html %] +

+
+
+
+
+ +[% RenderBlockStart("OverviewResult") %] +
+
+

[% Translate("List") | html %]

+
+
+ + + + + + + + + + + + + + + + + +[% RenderBlockStart("NoDataFoundMsg") %] + + + +[% RenderBlockEnd("NoDataFoundMsg") %] +[% RenderBlockStart("OverviewResultRow") %] + + + + + + + + + + +[% RenderBlockEnd("OverviewResultRow") %] + +
[% Translate("Title") | html %][% Translate("Remove default") | html %][% Translate("Add new") | html %][% Translate("New address") | html %][% Translate("Comment") | html %][% Translate("Changed") | html %][% Translate("Created") | html %][% Translate("Delete") | html %]
+ [% Translate("No data found.") | html %] +
+ [% Data.Name | html %] + [% Translate(Data.RemoveDefault) | html %][% Translate(Data.AddNew) | html %][% Data.NewAddress | html %][% Data.Comment | truncate(26) | html %][% Data.ChangeTime | Localize("TimeShort") %][% Data.CreateTime | Localize("TimeShort") %] + + [% Translate("Delete this entry") | html %] + + +
+
+
+[% WRAPPER JSOnDocumentComplete %] + +[% END %] +[% RenderBlockEnd("OverviewResult") %] +[% RenderBlockStart("OverviewUpdate") %] + +
+
+[% RenderBlockStart("HeaderAdd") %] +

[% Translate("Add DefaultTo") | html %]

+[% RenderBlockEnd("HeaderAdd") %] +[% RenderBlockStart("HeaderEdit") %] +

[% Translate("Edit DefaultTo") | html %]

+[% RenderBlockEnd("HeaderEdit") %] +
+
+
+ + + +
+ +
+ +
+

[% Translate("This field is required.") | html %]

+
+
+[% RenderBlockStart("TitleServerError") %] +

[% Translate("This field is required.") | html %]

+[% RenderBlockEnd("TitleServerError") %] +[% RenderBlockStart("ExistTitleServerError") %] +

[% Translate("A DefaultTo entry with this title already exists!") | html %]

+[% RenderBlockEnd("TitleServerError") %] +
+
+
+ + +
+ [% Data.DefaultToRemoveDefaultOption %] +
+

[% Translate("This field is required.") | html %]

+
+
+

[% Translate("This field is required.") | html %]

+
+
+
+ + +
+ [% Data.DefaultToAddNewOption %] +
+

[% Translate("This field is required.") | html %]

+
+
+

[% Translate("This field is required.") | html %]

+
+
+
+ + +
+ +
+

[% Translate("This field is required.") | html %]

+
+
+

[% Translate("This field is required.") | html %]

+
+
+
+ + +
+ +
+
+ +
+ + [% Translate("or") | html %] + [% Translate("Cancel") | html %] +
+
+
+
+
+
+[% RenderBlockEnd("OverviewUpdate") %] +
+
+
+[% RenderBlockEnd("Overview") %] -- cgit v1.2.3-1-g7c22