File: InstallerSystem.tt

package info (click to toggle)
otrs2 5.0.16-1%2Bdeb9u6
  • links: PTS
  • area: non-free
  • in suites: stretch
  • size: 141,108 kB
  • sloc: perl: 746,356; xml: 54,469; sql: 10,505; sh: 430; makefile: 64
file content (123 lines) | stat: -rw-r--r-- 5,594 bytes parent folder | download | duplicates (2)
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# --
# Copyright (C) 2001-2017 OTRS AG, http://otrs.com/
# --
# 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("System") %]
<div class="W950px SpacingTop SpacingBottom CenterBox">
    <form action="[% Env("CGIHandle") %]" method="post" class="PreventMultipleSubmits">
        <input type="hidden" name="Action" value="Installer">
        <input type="hidden" name="Subaction" value="ConfigureMail">

        <div class="WidgetSimple">
            <div class="Header">
                <h2>[% Translate(Data.Item) | html %] ([% Data.Step %])</h2>
            </div>

            <div class="Content">
                <fieldset class="TableLike">
                    <label for="SystemID">[% Translate("SystemID") | html %]:</label>
                    <div class="Field">
                        [% Data.SystemIDString %]
                        <p class="FieldExplanation">
                            [% Translate("The identifier of the system. Each ticket number and each HTTP session ID contain this number.") | html %]
                        </p>
                    </div>
                    <div class="Clear"></div>

                    <label for="FQDN">[% Translate("System FQDN") | html %]:</label>
                    <div class="Field">
                        <input type="text" id="FQDN" name="FQDN" value="[% Data.FQDN | html %]" class="W33pc">
                        <p class="FieldExplanation">
                            [% Translate("Fully qualified domain name of your system.") | html %]
                        </p>
                    </div>
                    <div class="Clear"></div>

                    <label for="AdminEmail">[% Translate("AdminEmail") | html %]:</label>
                    <div class="Field">
                        <input type="text" id="AdminEmail" name="AdminEmail" value="[% Config("AdminEmail") %]" class="W33pc">
                        <p class="FieldExplanation">
                            [% Translate("Email address of the system administrator.") | html %]
                        </p>
                    </div>
                    <div class="Clear"></div>

                    <label for="Organization">[% Translate("Organization") | html %]:</label>
                    <div class="Field">
                        <input type="text" id="Organization" name="Organization" value="[% Config("Organization") %]" class="W33pc">
                    </div>
                    <div class="Clear"></div>

[% RenderBlockStart("LogModule") %]
                    <h4>
                        [% Translate("Log") | html %]
                    </h4>
                    <div class="Clear"></div>

                    <label for="LogModule">[% Translate("LogModule") | html %]:</label>
                    <div class="Field">
                        [% Data.LogModuleString %]
                        <p class="FieldExplanation">
                            [% Translate("Log backend to use.") | html %]
                        </p>
                    </div>
                    <div class="Clear"></div>

                    <div class="Row Row_LogFile Hidden">
                        <label for="LogModule::LogFile">[% Translate("LogFile") | html %]:</label>
                        <div class="Field">
                            <input type="text" id="LogModule::LogFile" name="LogModule::LogFile" value="[% Config("LogModule::LogFile") %]" class="W33pc">
                        </div>
                        <div class="Clear"></div>
                    </div>
[% WRAPPER JSOnDocumentComplete %]
<script type="text/javascript">//<![CDATA[
// Show only Log File Location field if log module File is selected
$('select#LogModule').bind('change', function(){
    if (/Kernel::System::Log::File/.test($(this).val())) {
        $('.Row_LogFile').show();
    }
    else {
        $('.Row_LogFile').hide();
    }
}).trigger('change');
//]]></script>
[% END %]
[% RenderBlockEnd("LogModule") %]

                    <h4>
                        [% Translate("Webfrontend") | html %]
                    </h4>
                    <div class="Clear"></div>

                    <label for="DefaultLanguage">[% Translate("Default language") | html %]:</label>
                    <div class="Field">
                        [% Data.LanguageString %]
                        <p class="FieldExplanation">
                            [% Translate("Default language.") | html %]
                        </p>
                    </div>
                    <div class="Clear"></div>

                    <label for="CheckMXRecord">[% Translate("CheckMXRecord") | html %]:</label>
                    <div class="Field">
                        [% Data.SelectCheckMXRecord %]
                        <p class="FieldExplanation">
                            [% Translate("Email addresses that are manually entered are checked against the MX records found in DNS. Don't use this option if your DNS is slow or does not resolve public addresses.") | html %]
                        </p>
                    </div>
                    <div class="Clear"></div>
                </fieldset>

                <div class="SpacingTop Right">
                    <button class="Primary CallForAction" type="submit"><span>[% Translate("Next") | html %]</span></button>
                </div>
            </div>
        </div>
    </form>
</div>
[% RenderBlockEnd("System") %]