File: AgentStatsEditXaxis.dtl

package info (click to toggle)
otrs2 2.2.7-2lenny3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 13,444 kB
  • ctags: 5,808
  • sloc: perl: 129,825; xml: 16,139; sql: 11,400; sh: 1,198; makefile: 31; php: 16
file content (185 lines) | stat: -rw-r--r-- 7,321 bytes parent folder | download
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
# --
# AgentStatsEditXaxis.dtl - provides HTML form for stats edit mask
# Copyright (C) 2001-2007 OTRS GmbH, http://otrs.org/
# --
# $Id: AgentStatsEditXaxis.dtl,v 1.7 2007/06/26 16:08:13 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 -->
<form action="$Env{"CGIHandle"}" method="post" enctype="multipart/form-data" name="compose">
  <input type="hidden" name="Action" value="$Env{"Action"}">
  <input type="hidden" name="Subaction" value="Action">
  <input type="hidden" name="Home" value="EditXaxis">
  <input type="hidden" name="StatID" value="$QData{"StatID"}">
  <table border="0" width="100%" cellspacing="0" cellpadding="3">
    <tr>
      <td class="mainhead">
        $Env{"Box0"}$Text{"Edit"}: $Text{"$Config{"Stats::StatsHook"}"} $QData{"StatNumber"}$Env{"Box1"}
      </td>
    </tr>
#    <tr>
#      <td class="menu">
#        <a href="$Env{"Baselink"}Action=$Env{"Action"}&Subaction=View&StatID=$QData{"StatID"}" class="menuitem">
#        $Text{"View"}
#        </a>
#      </td>
#    </tr>
    <tr>
      <td class="mainbody" align="center">
        <img border="0" src="$Env{"Images"}installer1.png" alt="">
        <br>
        <table border="0" width="700" align="center" cellspacing="0" cellpadding="4">
          <tr>
            <td class="contenthead">$Text{"Select the element, which will be used at the X-axis"} (2/4)</td>
          </tr>
          <tr>
            <td class="contentbody">
              <table border="0" cellspacing="0" cellpadding="3" width="100%">
<!-- dtl:block:Attribute -->
<!-- dtl:block:hr -->
                <tr>
                  <td colspan="3"><hr></td>
                </tr>
<!-- dtl:block:hr -->
<!-- dtl:block:MultiSelectField -->
                <tr>
                  <td class="contentkey">
                    <input type="radio" name="Select" value="$Data{"Element"}" $Data{"Checked"}>
                  </td>
                  <td class="contentkey" width="200">
                    $Text{"$QData{"Name"}"}:
                  </td>
                  <td class="contentvalue" width="450">$Data{"SelectField"}</td>
                </tr>
                <tr>
                  <td colspan="2"></td>
                  <td class="contentvalue">
                    <input type="Checkbox" name="Fixed$Data{"Element"}" value="1" $Data{"Fixed"}>
                    $Text{"Fixed"}
                  </td>
                </tr>
<!-- dtl:block:MultiSelectField -->
<!-- dtl:block:TimeExtended -->
                <tr>
                  <td>
                    <input type="radio" name="Select" value="$Data{"Element"}" $Data{"Checked"}>
                  </td>
                  <td colspan="2" class="contentkey">$Text{"$Data{"Name"}"}:</td>
                </tr>
                <tr class="contentvalue">
                  <td></td>
                  <td valign="middle" width="150">
                    &nbsp;&nbsp;
                    <input type="radio" name="$Data{"Element"}TimeSelect" value="Absolut" $Data{"CheckedAbsolut"}>
                    $Text{"Absolut Period"}:
                  </td>
                  <td valign="middle">
                    $Text{"Between"} $Data{"TimeStart"} $Text{"and"} $Data{"TimeStop"}
                  </td>
                </tr>
                <tr class="contentvalue">
                  <td></td>
                  <td valign="middle">
                    &nbsp;&nbsp;
                    <input type="radio" name="$Data{"Element"}TimeSelect" value="Relativ" $Data{"CheckedRelative"}>
                    $Text{"Relative Period"}:
                  </td>
                  <td valign="middle">
                    $Text{"The last"}
                    $Data{"TimeRelativeCount"}
                    $Data{"TimeRelativeUnit"} ($Text{"maximal period"})
                  </td>
                </tr>
                <tr class="contentvalue">
                  <td></td>
                  <td valign="middle">
                    &nbsp;&nbsp;$Text{"Scale"}:
                  </td>
                  <td valign="middle">
                    $Text{"minimal"}
                    $Data{"TimeScaleCount"}
                    $Data{"TimeScaleUnit"} ($Text{"minimal scale"})
                  </td>
                </tr>
                <tr>
                  <td colspan="2"></td>
                  <td class="contentvalue">
                    <input type="Checkbox" name="Fixed$Data{"Element"}" value="1" $Data{"Fixed"}>
                    $Text{"Fixed"}
                  </td>
                </tr>
<!-- dtl:block:TimeExtended -->
<!-- dtl:block:Time -->
                <tr>
                  <td class="contentkey">
                    <input type="radio"  name="Select" value="$Data{"Element"}" $Data{"Checked"}>
                  </td>
                  <td class="contentkey" colspan="2">$Text{"$Data{"Name"}"}:</td>
                </tr>
                <tr>
                  <td></td>
                  <td class="contentvalue">
                    $Text{"Scale"}:<br>
                    <span class="readonly">$Text{"Please select only one element or turn off the button 'Fixed'."}</span>
                  </td>
                  <td>
                    $Data{"TimeSelectField"}
                  </td>
                </tr>
                <tr class="contentvalue">
                  <td></td>
                  <td valign="middle">
                    $Text{"Between"}
                  </td>
                  <td>
                    $Data{"TimeStart"} $Text{"and"} $Data{"TimeStop"}
                  </td>
                </tr>
                <tr>
                  <td colspan="2"></td>
                  <td class="contentvalue">
                    <input type="Checkbox" name="Fixed$Data{"Element"}" value="1" $Data{"Fixed"}>
                    $Text{"Fixed"}
                  </td>
                </tr>
<!-- dtl:block:Time -->
<!-- dtl:block:Attribute -->
              </table>
            </td>
          </tr>
          <tr>
            <td class="contentfooter">
              <input class="button" type="submit" name="Back" value="$Text{"...Back"}">
              <input class="button" type="submit" name="Next" value="$Text{"Next..."}" accesskey="g">
            </td>
          </tr>
        </table>
        <br>
      </td>
    </tr>
  </table>
</form>
<table border="0" width="100%" cellspacing="0" cellpadding="3">
  <tr>
    <td class="mainhead">
      $Env{"Box0"}$Text{"Note"}$Env{"Box1"}
    </td>
  </tr>
  <tr>
    <td class="mainbody">
      <table width="100%">
        <tr>
          <td class="mainvalue">
            $Text{"Here you can define the x-axis. You can select one element via the radio button. Then you you have to select two or more attributes of the element. If you make no selection all attributes of the element will be used if you generate a stat. As well a new attribute is added since the last configuration."}
            $Text{"If you remove the hook in the "Fixed" checkbox, the agent generating the stat can change the attributes of the corresponding element."}
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!-- end form -->