Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision eb9c7b8d

Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt

  • ID eb9c7b8d4739201ecf0a912bd1a6a64b2b640ca0
  • Vorgänger b5433029
  • Nachfolger 75889221

Neues kivitendo Design Aenderungen in templates/webpages/am/..

Unterschiede anzeigen:

templates/webpages/am/_units_header_info.html
1
[%- USE HTML -%][%- USE LxERP -%][%- USE T8 -%]
1
[% USE HTML %]
2
[% USE LxERP %]
3
[% USE T8 %]
2 4
<p>
3
 [% LxERP.t8('All units have either no or exactly one base unit of which they are multiples.') %]
4
 [% LxERP.t8('If you select a base unit then you also have to enter a factor.') %]
5
 [% LxERP.t8('You have to define a unit as a multiple of a smaller unit.') %]
6
 [% LxERP.t8('Therefore the definition of "kg" with the base unit "g" and a factor of 1000 is valid while defining "g" with a base unit of "kg" and a factor of "0.001" is not.') %]
5
  [% LxERP.t8('All units have either no or exactly one base unit of which they are multiples.') %]
6
  [% LxERP.t8('If you select a base unit then you also have to enter a factor.') %]
7
  [% LxERP.t8('You have to define a unit as a multiple of a smaller unit.') %]
8
  [% LxERP.t8('Therefore the definition of "kg" with the base unit "g" and a factor of 1000 is valid while defining "g" with a base unit of "kg" and a factor of "0.001" is not.') %]
7 9
</p>
templates/webpages/am/add_unit.html
1
[%- USE HTML -%][%- USE T8 -%]
1
[% USE HTML %]
2
[% USE T8 %]
3

  
2 4
<h1>[% 'Add unit' | $T8 %]</h1>
3 5

  
4 6
[% PROCESS "am/_units_header_info.html" %]
5 7

  
6
<hr>
7

  
8 8
<form method="post" action="[% HTML.escape(script) %]" id="form">
9
<div class="wrapper">
10
  <input type="hidden" name="type" value="unit">
11

  
12
  <table class="tbl-horizontal">
13
      <colgroup> <col class="wi-normal"><col class="wi-lightwide"> </colgroup>
14
    <tbody>
15
      <tr>
16
        <th>[% 'Unit' | $T8 %]</th>
17
        <td><input type="text" name="new_name" size="20" class="wi-normal"></td>
18
      </tr>
19
      <tr>
20
        <th>[% 'Base unit' | $T8 %]</th>
21
        <td>
22
          <select name="new_base_unit" class="wi-normal">
23
            [% FOREACH row = NEW_BASE_UNIT_DDBOX %]
24
              <option [% row.selected %]>[% row.name %]</option>
25
            [% END %]
26
          </select>
27
        </td>
28
      </tr>
29
      <tr>
30
        <th>[% 'Factor' | $T8 %]</th>
31
        <td><input type="text" name="new_factor" class="wi-normal"></td>
32
      </tr>
33
    </tbody>
34
  </table>
35

  
36
  <table class="tbl-horizontal">
37
    <caption>[% '' | $T8 %]</caption>
38
    <colgroup> <col class="wi-normal"><col class="wi-lightwide"><col class="wi-small"><col class="wi-lightwide"> </colgroup>
39
    <tbody>
40
      [% FOREACH language = LANGUAGES %]
41
        <tr>
42
          <th>[% language.description %]</th>
43
          <td><input type="text" name="new_localized_[% language.id %]" class="wi-normal" maxlength="20"></td>
44
          <th>[% 'Plural' | $T8 %]</th>
45
          <td><input type="text" name="new_localized_plural_[% language.id %]" class="wi-normal" maxlength="20"></td>
46
        </tr>
47
      [% END %]
48
    </tbody>
49
  </table>
50

  
9 51

  
10
 <input type="hidden" name="type" value="unit">
11

  
12
 <table>
13
  <tr>
14
   <th align="right">[% 'Unit' | $T8 %]</th>
15
   <td><input name="new_name" size="20" maxlength="20"></td>
16
  </tr>
17
  <tr>
18
   <th align="right">[% 'Base unit' | $T8 %]</th>
19
   <td>
20
    <select name="new_base_unit">
21
     [% FOREACH row = NEW_BASE_UNIT_DDBOX %]<option [% row.selected %]>[% row.name %]</option>[% END %]
22
    </select>
23
   </td>
24
  </tr>
25
  <tr>
26
   <th align="right">[% 'Factor' | $T8 %]</th>
27
   <td><input name="new_factor"></td>
28
  </tr>
29

  
30
  [% FOREACH language = LANGUAGES %]
31
   <tr>
32
    <th align="right">[% language.description %]</th>
33
    <td><input name="new_localized_[% language.id %]" size="20" maxlength="20"></td>
34
    <th align="right">[% 'Plural' | $T8 %]</th>
35
    <td><input name="new_localized_plural_[% language.id %]" size="20" maxlength="20"></td>
36
   </tr>
37
  [% END %]
38
 </table>
52

  
53

  
54

  
55
</div><!-- /.wrapper -->
39 56
</form>
57

  
templates/webpages/am/audit_control.html
7 7

  
8 8
<form method="post" action="am.pl" id="form">
9 9

  
10
<table>
11
  <tr>
12
    <th>[% 'Close Books up to' | $T8 %]</th>
13
    <td>[% L.date_tag('closedto', closedto) %]</td>
14
  </tr>
15
  <tr>
16
    <th>[% 'Maximum future booking interval' | $T8 %]</th>
17
    <td><input type="text" name="max_future_booking_interval" id="max_future_booking_interval" value="[% HTML.escape(max_future_booking_interval) %]"></td>
18
  </tr>
10
<table class="tbl-horizontal">
11
  <tbody>
12
    <tr>
13
      <th>[% 'Close Books up to' | $T8 %]</th>
14
      <td>[% L.date_tag('closedto', closedto) %]</td>
15
    </tr>
16
    <tr>
17
      <th>[% 'Maximum future booking interval' | $T8 %]</th>
18
      <td><input type="text" name="max_future_booking_interval" id="max_future_booking_interval" value="[% HTML.escape(max_future_booking_interval) %]"></td>
19
    </tr>
20
  </tbody>
19 21
</table>
20 22

  
23

  
21 24
</form>
templates/webpages/am/config.html
1
[%- USE T8 %]
2
[%- USE LxERP %]
3
[%- USE HTML %]
4
[%- USE L %]
1
[% USE T8 %]
2
[% USE LxERP %]
3
[% USE HTML %]
4
[% USE L %]
5 5

  
6 6
<h1>[% title %]</h1>
7 7

  
8
 <form method="post" action="am.pl" name="Form" id="form">
9
  <div class="tabwidget">
10
   <ul>
11
    <li><a href="#page_personal_settings">[% 'Personal settings' | $T8 %]</a></li>
12
    <li><a href="#page_display_options">[% 'Display options' | $T8 %]</a></li>
13
    <li><a href="#page_print_options">[% 'Print options' | $T8 %]</a></li>
14
    <li><a href="#page_todo_list_options">[% 'TODO list options' | $T8 %]</a></li>
15
   </ul>
16

  
17
   <div id="page_personal_settings">
18

  
19
    <table>
20
     <tr>
21
      <th align="right">[% 'Name' | $T8 %]</th>
22
      <td><input name="name" size="15" value="[% HTML.escape(MYCONFIG.name) %]"></td>
23
     </tr>
24

  
25
     <tr>
26
      <th align="right">[% 'Password' | $T8 %]</th>
27
      <td>
28
       [%- IF CAN_CHANGE_PASSWORD %]
29
       <input type="password" name="new_password" size="10" value="********">
30
       [%- ELSE %]
31
       <input type="hidden" name="new_password" value="********">
32
       [%- END %]
33
      </td>
34
     </tr>
35

  
36
     <tr>
37
      <th align="right">[% 'E-mail' | $T8 %]</th>
38
      <td><input name="email" size="30" value="[% HTML.escape(MYCONFIG.email) %]"></td>
39
     </tr>
40

  
41
     <tr valign="top">
42
      <th align="right">[% 'Signature' | $T8 %]</th>
43
      <td><textarea id="signature" name="signature" class="toggletextarea" rows="5" cols="50">[% HTML.escape(MYCONFIG.signature) %] </textarea>
44
         <span id="full_signature" class="toggletextarea"> <textarea readonly name="full_signature" rows="10" cols="50" >[% HTML.escape(full_signature) %]</textarea> </span>
45
         <a href="#" class="togglelink">[% 'Check full signature' | $T8 %]</a>
46
         <a href="#" id="edit_signature" class="togglelink">[% 'Edit user signature' | $T8 %]</a>
47
          </td> </tr>
48
     <tr>
49
      <th align="right">[% 'Phone' | $T8 %]</th>
50
      <td><input name="tel" size="14" value="[% HTML.escape(MYCONFIG.tel) %]"></td>
51
     </tr>
52

  
53
     <tr>
54
      <th align="right">[% 'Fax' | $T8 %]</th>
55
      <td><input name="fax" size="14" value="[% HTML.escape(MYCONFIG.fax) %]"></td>
56
     </tr>
57

  
8
<form method="post" action="am.pl" name="Form" id="form">
9
<div class="tabwidget">
10
<ul>
11
  <li><a href="#page_personal_settings">[% 'Personal settings' | $T8 %]</a></li>
12
  <li><a href="#page_display_options">[% 'Display options' | $T8 %]</a></li>
13
  <li><a href="#page_print_options">[% 'Print options' | $T8 %]</a></li>
14
  <li><a href="#page_todo_list_options">[% 'TODO list options' | $T8 %]</a></li>
15
</ul>
16

  
17

  
18
<div id="page_personal_settings">
19
  <div class="wrapper">
20
    <table class="tbl-horizontal">
21
      <colgroup> <col class="wi-mediumsmall"><col class="wi-lightwide"> </colgroup>
22
      <caption> [% 'Personal settings' | $T8 %] </caption>
23
      <colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
24
      <tbody>
58 25
      <tr>
59
        <th align="right">[% 'taxincluded checked' | $T8 %]</th>
26
        <th>[% 'Name' | $T8 %]</th>
27
        <td><input type="text" name="name" class="wi-wide" value="[% HTML.escape(MYCONFIG.name) %]"></td>
28
      </tr>
29
      <tr>
30
        <th>[% 'Password' | $T8 %]</th>
60 31
        <td>
61
          [% L.yes_no_tag('taxincluded_checked', MYCONFIG.taxincluded_checked) %]
32
          [% IF CAN_CHANGE_PASSWORD %]
33
            <input type="password" name="new_password" class="wi-wide" value="********">
34
          [% ELSE %]
35
            <input type="hidden" name="new_password" value="********" class="wi-wide">
36
          [% END %]
62 37
        </td>
63 38
      </tr>
64

  
65 39
      <tr>
66
        <th align="right">[% 'Focus position after update' | $T8 %]</th>
40
        <th>[% 'E-mail' | $T8 %]</th>
41
        <td><input type="text" name="email" class="wi-wide" value="[% HTML.escape(MYCONFIG.email) %]"></td>
42
      </tr>
43
      <tr>
44
        <th>[% 'Signature' | $T8 %]</th>
67 45
        <td>
68
          [% L.select_tag(
69
            'focus_position',
70
            [
71
              ['new_description',  LxERP.t8('New row, description')],
72
              ['new_partnumber',   LxERP.t8('New row, partnumber')],
73
              ['new_qty',          LxERP.t8('New row, qty')],
74
              ['last_description', LxERP.t8('Last row, description')],
75
              ['last_partnumber',  LxERP.t8('Last row, partnumber')],
76
              ['last_qty',         LxERP.t8('Last row, qty')],
77
            ],
78
            default => MYCONFIG.focus_position)
79
          %]
46
          <textarea id="signature" name="signature" class="toggletextarea" rows="5" cols="50">[% HTML.escape(MYCONFIG.signature) %] </textarea>
47
          <span id="full_signature" class="toggletextarea"> <textarea readonly name="full_signature" rows="10" cols="50">[% HTML.escape(full_signature) %]</textarea>
48
          </span> <a href="#" class="togglelink">[% 'Check full signature' | $T8 %]</a> <a href="#" id="edit_signature" class="togglelink">[% 'Edit user signature' | $T8 %]</a>
80 49
        </td>
81 50
      </tr>
82

  
83 51
      <tr>
84
        <th align="right">[% 'Item multi selection with qty' | $T8 %]</th>
85
        <td>
86
          [% L.yes_no_tag('item_multiselect', MYCONFIG.item_multiselect) %]
52
        <th>[% 'Phone' | $T8 %]</th>
53
        <td><input type="text" name="tel" class="wi-wide" value="[% HTML.escape(MYCONFIG.tel) %]"></td>
54
      </tr>
55
      <tr>
56
        <th>[% 'Fax' | $T8 %]</th>
57
        <td><input type="text" name="fax" class="wi-wide" value="[% HTML.escape(MYCONFIG.fax) %]"></td>
58
      </tr>
59
      <tr>
60
        <th>[% 'taxincluded checked' | $T8 %]</th>
61
        <td> [% L.yes_no_tag('taxincluded_checked', MYCONFIG.taxincluded_checked, class='wi-small') %]</td>
62
      </tr>
63
      <tr>
64
        <th>[% 'Focus position after update' | $T8 %]</th>
65
        <td> [% L.select_tag( 'focus_position', [ ['new_description', LxERP.t8('New row, description')], ['new_partnumber', LxERP.t8('New row, partnumber')], ['new_qty', LxERP.t8('New row, qty')], ['last_description', LxERP.t8('Last row, description')], ['last_partnumber', LxERP.t8('Last row, partnumber')], ['last_qty', LxERP.t8('Last row, qty')], ], default => MYCONFIG.focus_position, class='wi-wide') %]
87 66
        </td>
88 67
      </tr>
89

  
68
      <tr>
69
        <th>[% 'Item multi selection with qty' | $T8 %]</th>
70
        <td> [% L.yes_no_tag('item_multiselect', MYCONFIG.item_multiselect, class='wi-small') %]
71
        </td>
72
      </tr>
73
    </tbody>
90 74
    </table>
91
   </div>
92

  
93
   <div id="page_display_options">
94

  
95
    <table>
96
     <tr>
97
      <th align="right">[% 'Date Format' | $T8 %]</th>
98
      <td>
99
        [% L.select_tag('dateformat', DATEFORMATS, value_key = 'value', title_key = 'name') %]
100
      </td>
101
     </tr>
102
     <tr>
103
       <th align="right">[% 'Time Format' | $T8 %]</th>
104
       <td>
105
         [% L.select_tag('timeformat', TIMEFORMATS, value_key = 'value', title_key = 'name') %]
106
       </td>
107
     </tr>
108
     <tr>
109
      <th align="right">[% 'Output Number Format' | $T8 %]</th>
110
      <td>
111
        [% L.select_tag('numberformat', NUMBERFORMATS, value_key = 'value', title_key = 'name') %]
112
      </td>
113
     </tr>
114

  
115
     <tr>
116
      <th align="right">[% 'Language' | $T8 %]</th>
117
      <td>
118
        [% L.select_tag('countrycode', COUNTRYCODES, value_key = 'value', title_key = 'name') %]
119
      </td>
120
     </tr>
121

  
122
     <tr>
123
      <th align="right">[% 'Stylesheet' | $T8 %]</th>
124
      <td>
125
        [% L.select_tag('usestylesheet', STYLESHEETS, value_key = 'value', title_key = 'name') %]
126
      </td>
127
     </tr>
128

  
129
     <tr>
130
      <th align="right">[% 'Setup Menu' | $T8 %]</th>
131
      <td>
132
       <select name="menustyle">
133
        <option value="old"[% IF MYCONFIG.menustyle == 'old' %] selected[% END %]>[% 'Old (on the side)' | $T8 %]</option>
134
        <option value="v3"[% IF MYCONFIG.menustyle == 'v3' %] selected[% END %]>[% 'Top (CSS)' | $T8 %]</option>
135
        <option value="neu"[% IF MYCONFIG.menustyle == 'neu' %] selected[% END %]>[% 'Top (Javascript)' | $T8 %]</option>
136
       </select>
137
      </td>
138
     </tr>
139

  
140
     <tr>
141
      <th align="right">[% 'Form details (second row)' | $T8 %]</th>
75
  </div><!-- /.wrapper -->
76
</div><!-- /#page_personal_settings -->
77

  
78
<div id="page_display_options">
79
  <div class="wrapper">
80
    <table class="tbl-horizontal">
81
    <colgroup> <col class="wi-mediumsmall"><col class="wi-lightwide"> </colgroup>
82
    <caption>[% 'Display options' | $T8 %]</caption>
83
    <tbody>
84
    <tr>
85
      <th>[% 'Date Format' | $T8 %]</th>
86
      <td>[% L.select_tag('dateformat', DATEFORMATS, value_key='value', title_key='name', class="wi-small") %]</td>
87
    </tr>
88
    <tr>
89
      <th>[% 'Time Format' | $T8 %]</th>
90
      <td>[% L.select_tag('timeformat', TIMEFORMATS, value_key='value', title_key='name', class="wi-small") %]</td>
91
    </tr>
92
    <tr>
93
      <th>[% 'Output Number Format' | $T8 %]</th>
94
      <td>[% L.select_tag('numberformat', NUMBERFORMATS, value_key='value', title_key='name', class="wi-small") %]</td>
95
    </tr>
96
    <tr>
97
      <th>[% 'Language' | $T8 %]</th>
98
      <td>[% L.select_tag('countrycode', COUNTRYCODES, value_key = 'value', title_key = 'name', class='wi-lightwide') %]</td>
99
    </tr>
100
    <tr>
101
      <th>[% 'Stylesheet' | $T8 %]</th>
102
      <td>[% L.select_tag('usestylesheet', STYLESHEETS, value_key = 'value', title_key = 'name', class='wi-lightwide') %]</td>
103
    </tr>
104
    <tr>
105
      <th>[% 'Setup Menu' | $T8 %]</th>
142 106
      <td>
143
       <select name="show_form_details">
144
        <option value="1"[% IF  MYCONFIG.show_form_details %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
145
        <option value="0"[% IF !MYCONFIG.show_form_details %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
146
       </select>
107
        <select name="menustyle" class="wi-lightwide">
108
          <option value="old"[% IF MYCONFIG.menustyle == 'old' %] selected[% END %]>[% 'Old (on the side)' | $T8 %]</option>
109
          <option value="v3"[% IF MYCONFIG.menustyle == 'v3' %] selected[% END %]>[% 'Top (CSS)' | $T8 %]</option>
110
          <option value="neu"[% IF MYCONFIG.menustyle == 'neu' %] selected[% END %]>[% 'Top (Javascript)' | $T8 %]</option>
111
        </select>
147 112
      </td>
148 113
     </tr>
149 114

  
......
170 135
     </tr>
171 136
     [%- END -%]
172 137

  
173
     <tr>
174
      <th align="right">[% 'Show custom variable search inputs' | $T8 %]</th>
138
    <tr>
139
      <th>[% 'Form details (second row)' | $T8 %]</th>
175 140
      <td>
176
       <select name="hide_cvar_search_options">
177
        <option value="0"[% IF !MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
178
        <option value="1"[% IF  MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
179
       </select>
141
        <select name="show_form_details" class="wi-lightwide">
142
          <option value="1"[% IF  MYCONFIG.show_form_details %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
143
          <option value="0"[% IF !MYCONFIG.show_form_details %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
144
        </select>
180 145
      </td>
181
     </tr>
182

  
183
     <tr>
184
      <th align="right">[% 'Number of columns of custom variables in form details (second row)' | $T8 %]</th>
146
    </tr>
147
    <tr>
148
      <th>[% 'Show custom variable search inputs' | $T8 %]</th>
185 149
      <td>
186
        [% L.input_tag('form_cvars_nr_cols',  MYCONFIG.form_cvars_nr_cols || 3,  size = 5) %]
150
        <select name="hide_cvar_search_options" class="wi-lightwide">
151
          <option value="0"[% IF !MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
152
          <option value="1"[% IF  MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
153
        </select>
187 154
      </td>
188 155
     </tr>
189

  
190
     <tr>
156
    <tr>
157
      <th>[% 'Number of columns of custom variables in form details (second row)' | $T8 %]</th>
158
      <td>[% L.input_tag('form_cvars_nr_cols', MYCONFIG.form_cvars_nr_cols || 3, class='wi-verysmall') %]</td>
159
    </tr>
160
    <tr>
191 161
      <th align="right">[% 'Quick Searches that will be shown in the header for this user' | $T8 %]</th>
192 162
      <td colspan=2>
193 163
        <div class="clearfix">
......
237 207
           [% END %]
238 208
         </table>
239 209
       </td>
240

  
210
      </tr>
211
    </tbody>
241 212
    </table>
242
   </div>
243

  
244
   <div id="page_print_options">
245

  
246
    <table>
247
     <input name="printer" type="hidden" value="[% HTML.escape(MYCONFIG.printer) %]">
248

  
249
     <tr>
250
      <th align="right">[% 'Default template format' | $T8 %]</th>
251
      <td>
252
        [% L.select_tag('template_format', TEMPLATE_FORMATS, value_key = 'value', title_key = 'name') %]
253
      </td>
254
     </tr>
255

  
256
     <tr>
257
      <th align="right">[% 'Default output medium' | $T8 %]</th>
258
      <td>
259
        [% L.select_tag('default_media', MEDIA, value_key = 'value', title_key = 'name') %]
260
      </td>
261
     </tr>
262

  
263
     <tr>
264
      <th align="right">[% 'Default printer' | $T8 %]</th>
265
      <td>
266
       [% L.select_tag('default_printer_id', PRINTERS, default = MYCONFIG.default_printer_id, title_key = 'printer_description', with_empty = 1) %]
267
      </td>
268
     </tr>
269

  
270
     <tr>
271
      <th align="right">[% 'Number of copies' | $T8 %]</th>
272
      <td><input name="copies" size="10" value="[% HTML.escape(MYCONFIG.copies) %]"></td>
273
     </tr>
213
  </div><!-- /.wrapper -->
214
</div><!-- /#page_display_options -->
215

  
216

  
217
<div id="page_print_options">
218
  <div class="wrapper">
219
    <input name="printer" type="hidden" value="[% HTML.escape(MYCONFIG.printer) %]">
220
    <table class="tbl-horizontal">
221
      <caption>[% 'Print options' | $T8 %]</caption>
222
      <tbody>
223
        <tr>
224
          <th>[% 'Default template format' | $T8 %]</th>
225
          <td> [% L.select_tag('template_format', TEMPLATE_FORMATS, value_key = 'value', title_key = 'name', class='wi-normal') %]
226
          </td>
227
        </tr>
228
        <tr>
229
          <th>[% 'Default output medium' | $T8 %]</th>
230
          <td> [% L.select_tag('default_media', MEDIA, value_key = 'value', title_key = 'name', class='wi-normal') %]
231
          </td>
232
        </tr>
233
        <tr>
234
          <th>[% 'Default printer' | $T8 %]</th>
235
          <td> [% L.select_tag('default_printer_id', PRINTERS, default = MYCONFIG.default_printer_id, title_key = 'printer_description', with_empty = 1, class='wi-normal') %]
236
          </td>
237
        </tr>
238
        <tr>
239
          <th>[% 'Number of copies' | $T8 %]</th>
240
          <td>
241
          <input type="text" name="copies" size="10" value="[% HTML.escape(MYCONFIG.copies) %]" class="wi-normal">
242
          </td>
243
        </tr>
244
      </tbody>
274 245
    </table>
275
   </div>
246
  </div><!-- /.wrapper -->
247
</div><!-- /#page_print_options -->
276 248

  
277
   <div id="page_todo_list_options">
278 249

  
279
    <table>
280
     <tr>
281
      <th align="right">[% 'Show your TODO list after logging in' | $T8 %]</th>
282
      <td colspan="2">
283
       <input type="radio" name="todo_cfg.show_after_login" id="todo_cfg_show_after_login_1" value="1"[% IF todo_cfg.show_after_login %] checked[% END %]>
284
       <label for="todo_cfg_show_after_login_1">[% 'Yes' | $T8 %]</label>
285
       <input type="radio" name="todo_cfg.show_after_login" id="todo_cfg_show_after_login_0" value="0"[% IF !todo_cfg.show_after_login %] checked[% END %]>
286
       <label for="todo_cfg_show_after_login_0">[% 'No' | $T8 %]</label>
287
      </td>
288
     </tr>
289

  
290
     <tr class="listheading">
291
      <th colspan="3">[% 'Configuration of individual TODO items' | $T8 %]</th>
292
     </tr>
250
<div id="page_todo_list_options">
251
  <div class="wrapper">
252
    <table class="tbl-horizontal">
253
    <caption>[% 'Todo list options' | $T8 %]</caption>
254
      <colgroup> <col class="wi-normal"><col class="wi-normal"> </colgroup>
255
    <tbody>
256
      <tr>
257
        <th>[% 'Show your TODO list after logging in' | $T8 %]</th>
258
        <td>
259
        <input type="radio" name="todo_cfg.show_after_login" id="todo_cfg_show_after_login_1" value="1"[% IF todo_cfg.show_after_login %] checked[% END %]>
260
        <label for="todo_cfg_show_after_login_1">[% 'Yes' | $T8 %]</label>
261
        <input type="radio" name="todo_cfg.show_after_login" id="todo_cfg_show_after_login_0" value="0"[% IF !todo_cfg.show_after_login %] checked[% END %]>
262
        <label for="todo_cfg_show_after_login_0">[% 'No' | $T8 %]</label>
263
        </td>
264
      </tr>
265
      <tr>
266
        <th colspan="2" class="caption">[% 'Configuration of individual TODO items' | $T8 %]</th>
267
      </tr>
268
      <tr>
269
        <th>[% 'Show follow ups...' | $T8 %]</th>
270
        <td>
271
          <input type="checkbox" name="todo_cfg.show_follow_ups" id="todo_cfg_show_follow_ups" value="1"[% IF todo_cfg.show_follow_ups %] checked[% END %]>
272
          <label for="todo_cfg_show_follow_ups">[% '...on the TODO list' | $T8 %]</label> <br>
273
          <input type="checkbox" name="todo_cfg.show_follow_ups_login" id="todo_cfg_show_follow_ups_login" value="1"[% IF todo_cfg.show_follow_ups_login %] checked[% END %]>
274
          <label for="todo_cfg_show_follow_ups_login">[% '...after logging in' | $T8 %]</label>
275
        </td>
276
      </tr>
277
      [% IF AUTH.assert('sales_quotation_edit', 'may_fail') %]
278
      <tr>
279
        <th>[% 'Show overdue sales quotations and requests for quotations...' | $T8 %]</th>
280
        <td>
281
          <input type="checkbox" name="todo_cfg.show_overdue_sales_quotations" id="todo_cfg_show_overdue_sales_quotations" value="1"[% IF todo_cfg.show_overdue_sales_quotations %] checked[% END %]>
282
          <label for="todo_cfg_show_overdue_sales_quotations">[% '...on the TODO list' | $T8 %]</label> <br>
283
          <input type="checkbox" name="todo_cfg.show_overdue_sales_quotations_login" id="todo_cfg_show_overdue_sales_quotations_login" value="1"[% IF todo_cfg.show_overdue_sales_quotations_login %] checked[% END %]>
284
          <label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after logging in' | $T8 %]</label>
285
        </td>
286
      </tr>
287
      [% END %]
288
    </tbody>
289
    </table>
290
  </div><!-- /.wrapper -->
291
</div><!-- /#page_todo_list_options -->
293 292

  
294
     <tr>
295
      <th align="right">[% 'Show follow ups...' | $T8 %]</th>
296
      <td>
297
       <input type="checkbox" name="todo_cfg.show_follow_ups" id="todo_cfg_show_follow_ups" value="1"[% IF todo_cfg.show_follow_ups %] checked[% END %]>
298
       <label for="todo_cfg_show_follow_ups">[% '...on the TODO list' | $T8 %]</label>
299
      </td>
300
      <td>
301
       <input type="checkbox" name="todo_cfg.show_follow_ups_login" id="todo_cfg_show_follow_ups_login" value="1"[% IF todo_cfg.show_follow_ups_login %] checked[% END %]>
302
       <label for="todo_cfg_show_follow_ups_login">[% '...after logging in' | $T8 %]</label>
303
      </td>
304
     </tr>
305 293

  
306
     [%- IF AUTH.assert('sales_quotation_edit', 'may_fail') %]
307
     <tr>
308
      <th align="right">[% 'Show overdue sales quotations and requests for quotations...' | $T8 %]</th>
309
      <td>
310
       <input type="checkbox" name="todo_cfg.show_overdue_sales_quotations" id="todo_cfg_show_overdue_sales_quotations" value="1"[% IF todo_cfg.show_overdue_sales_quotations %] checked[% END %]>
311
       <label for="todo_cfg_show_overdue_sales_quotations">[% '...on the TODO list' | $T8 %]</label>
312
      </td>
313
      <td>
314
       <input type="checkbox" name="todo_cfg.show_overdue_sales_quotations_login" id="todo_cfg_show_overdue_sales_quotations_login" value="1"[% IF todo_cfg.show_overdue_sales_quotations_login %] checked[% END %]>
315
       <label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after logging in' | $T8 %]</label>
316
      </td>
317
     </tr>
318
     [%- END %]
319
    </table>
320
   </div>
321
  </div>
322
 </form>
294
</div>
295
</form>
323 296

  
324 297
 <script type="text/javascript">
325 298
  <!--
templates/webpages/am/edit_accounts.html
1
[%- USE T8 %]
2
[%- USE L %]
1
[% USE T8 %]
2
[% USE L %]
3 3
[% USE HTML %]
4

  
4 5
<h1>[% title %]</h1>
5 6

  
6 7
<script type="text/javascript" src="js/FormManager.js" >
......
18 19

  
19 20
<form method="post" name="EditAccount" action="am.pl" id="form">
20 21

  
22
<div class="wrapper">
23

  
21 24
<input type="hidden" name="id"                 value="[% HTML.escape(id) %]">
22 25
<input type="hidden" name="type"               value="account">
23 26
<input type="hidden" name="orphaned"           value="[% HTML.escape(orphaned) %]">
......
30 33
<input type="hidden" name="rndgain_accno_id"   value="[% HTML.escape(rndgain_accno_id) %]">
31 34
<input type="hidden" name="rndloss_accno_id"   value="[% HTML.escape(rndloss_accno_id) %]">
32 35

  
33
<fieldset>
34
  <legend>
35
    [% 'Main Preferences' | $T8 %]
36
  </legend>
37
  <table>
36
<div class="col">
37

  
38
<table class="tbl-horizontal">
39
  <caption>[% 'Main Preferences' | $T8 %]</caption>
40
  <colgroup><col class="wi-mediumsmall"><col class="wi-wide"></colgroup>
41
  <tbody>
38 42
    <tr>
39
      <td>
40
        <label>
41
          [% 'Account Number' | $T8 %]
42
        </label></td>
43
        <td><input id="accno" name="accno" size="20" value="[% HTML.escape(accno) %]"></td>
43
      <th> [% 'Account Number' | $T8 %] </th>
44
      <td><input id="accno" name="accno" type="text" size="10" class="wi-small" value="[% HTML.escape(accno) %]"></td>
44 45
    </tr>
45 46
    <tr>
46
      <td>
47
        <label>
48
          [% 'Description' | $T8 %]
49
        </label>
50
      </td>
51
      <td><input id="description" name="description" size="40" value="[% HTML.escape(description) %]"></td>
47
      <th> [% 'Description' | $T8 %] </th>
48
      <td><input id="description" name="description" type="text" size="40" class="wi-wide" value="[% HTML.escape(description) %]"></td>
49
    </tr>
50
    <tr>
51
      <th> [% 'Chart Type' | $T8 %] </th>
52
      <td> [% IF AccountIsPosted %]
53
              [% L.select_tag('dummy_charttype',
54
                              all_charttypes,
55
                              title_key => 'name',
56
                              value_key => 'value',
57
                              default => selected_charttype,
58
                              disabled => '1',
59
                              class = 'wi-wide') %]
60
              [% L.hidden_tag('charttype', selected_charttype) %]
61
          [% ELSE %]
62
              [% L.select_tag('charttype',
63
                              all_charttypes,
64
                              title_key => 'name',
65
                              value_key => 'value',
66
                              default => selected_charttype,
67
                              class = 'wi-wide') %]
68
          [% END %] </td>
69
    </tr>
70
    <tr>
71
      <th>[% 'Account Type' | $T8 %]</th>
72
      <td><select name="category" id="AccountType" class="wi-wide">[% select_category %]</select></td>
52 73
    </tr>
74
    [% IF ChartTypeIsAccount %]
53 75
    <tr>
76
      <th>[% 'Is this a summary account to record' | $T8 %]</th>
54 77
      <td>
55
        <label>
56
          [% 'Chart Type' | $T8 %]
78
        [% L.radio_button_tag('summary_account', value => 'AR', disabled => AccountIsPosted, checked  => AR) %]
79
        [% 'AR' | $T8 %]<br>
80
        [% L.radio_button_tag('summary_account', value => 'AP', disabled => AccountIsPosted, checked  => AP) %]
81
        [% 'AP' | $T8 %]<br>
82
        [% L.radio_button_tag('summary_account', value => 'IC', disabled => AccountIsPosted, checked  => IC) %]
83
        [% 'Inventory' | $T8 %]<br>
84
        [% L.radio_button_tag('summary_account', value => '', disabled => AccountIsPosted) %]
85
        [% 'No summary account' | $T8 %]
57 86

  
58
        </label>
59
      </td>
60
      <td>
61
[% IF AccountIsPosted %]
62
        [% L.select_tag('dummy_charttype',
63
                        all_charttypes,
64
                        title_key => 'name',
65
                        value_key => 'value',
66
                        default => selected_charttype,
67
                        disabled => '1') %]
68
        [% L.hidden_tag('charttype', selected_charttype) %]
69
[% ELSE %]
70
        [% L.select_tag('charttype',
71
                        all_charttypes,
72
                        title_key => 'name',
73
                        value_key => 'value',
74
                        default => selected_charttype) %]
75
[% END %]
87
        [% IF AccountIsPosted %]
88
          [% IF AR %] [% L.hidden_tag('AR', 'AR') %] [% END %]
89
          [% IF AP %] [% L.hidden_tag('AP', 'AP') %] [% END %]
90
          [% IF IC %] [% L.hidden_tag('IC', 'IC') %] [% END %]
91
        [% END %]
92

  
93
        [% IF AccountIsPosted %]
94
          [% IF AR_amount %] [% L.hidden_tag('AR_amount', 'AR_amount') %] [% END %]
95
          [% IF AR_paid   %] [% L.hidden_tag('AR_paid',   'AR_paid')   %] [% END %]
96
          [% IF AR_tax    %] [% L.hidden_tag('AR_tax',    'AR_tax')    %] [% END %]
97
          [% IF AP_amount %] [% L.hidden_tag('AP_amount', 'AP_amount') %] [% END %]
98
          [% IF AP_paid   %] [% L.hidden_tag('AP_paid',   'AP_paid')   %] [% END %]
99
          [% IF AP_tax    %] [% L.hidden_tag('AP_tax',    'AP_tax')    %] [% END %]
100
          [% SET DIS = ' disabled="disabled"' %]
101
        [% END %]
76 102
      </td>
77 103
    </tr>
78
  </table>
79
</fieldset>
104
  </tbody>
105
</table>
80 106

  
81
<fieldset class="DEPENDS ON charttype BEING A">
82
  <legend>[% 'Account Type' | $T8 %]</legend>
83
  <select name="category" id="AccountType" class="DEPENDS ON charttype BEING A">
84
          [% select_category %]</select>
85
</fieldset>
107
<h3 class="caption">[% 'Taxkeys and Taxreport Preferences' | $T8 %]</h3>
108
<div class="long-desc small">
109
  <p>[% 'Note: Taxkeys must have a "valid from" date, and will not behave correctly without.' | $T8 %]</p>
110
</div>
111
<table class="tbl-horizontal">
112
  <thead>
113
    <tr>
114
      <th>[% 'Taxkey' | $T8 %]</th>
115
      <th>[% 'valid from' | $T8 %]</th>
116
      [% IF feature_ustva %]<th>[% 'pos_ustva' | $T8 %]</th>[% END %]
117
      <th>[% 'delete' | $T8 %]? </th>
118
    </tr>
119
  </thead>
120
  <tbody>
121
    [% FOREACH tk = ACCOUNT_TAXKEYS %]
122
      <tr>
123
        [% IF tk.id %]
124
          <td>
125
            <input type="hidden" name="taxkey_id_[% tk.runningnumber %]" value="[% tk.id %]">
126
            <select name="taxkey_tax_[% tk.runningnumber %]" class="wi-wider">[% tk.selecttaxkey %]</select>
127
          </td>
128
          <td><input name="taxkey_startdate_[% tk.runningnumber %]" value="[% HTML.escape(tk.startdate) %]" type="text" class="wi-date"></td>
129
          [% IF feature_ustva %]
130
            <td><select name="taxkey_pos_ustva_[% tk.runningnumber %]" class="wi-wider">[% tk.select_tax %]</select></td>
131
          [% END %]
132
          <td class="center">
133
            <input name="taxkey_del_[% tk.runningnumber %]" type="checkbox" value="delete">
134
          </td>
135
        [% ELSE %]
136
          <td>
137
            <input type="hidden" name="taxkey_id_[% tk.runningnumber %]" value="NEW">
138
            <select name="taxkey_tax_[% tk.runningnumber %]" class="wi-wider">[% tk.selecttaxkey %]</select>
139
          </td>
140
          <td><input name="taxkey_startdate_[% tk.runningnumber %]" value="[% HTML.escape(tk.startdate) %]" type="text" class="wi-date"></td>
141
          [% IF feature_ustva %]
142
            <td><select name="taxkey_pos_ustva_[% tk.runningnumber %]" class="wi-wider">[% tk.select_tax %]</select></td>
143
          [% END %]
144
          <td>&nbsp;</td>
145
        [% END %]
146
      </tr>
147
    [% END %]
148
  </tbody>
149
</table>
86 150

  
87
[% IF ChartTypeIsAccount %]
88
<fieldset class="DEPENDS ON charttype BEING A">
89
  <legend>[% 'Is this a summary account to record' | $T8 %]</legend>
90
        [% L.radio_button_tag('summary_account',
91
          value => 'AR',
92
          disabled => AccountIsPosted,
93
          checked  => AR) %]
94
        &nbsp;[% 'AR' | $T8 %]
95
        [% L.radio_button_tag('summary_account',
96
          value => 'AP',
97
          disabled => AccountIsPosted,
98
          checked  => AP) %]
99
        &nbsp;[% 'AP' | $T8 %]
100
        [% L.radio_button_tag('summary_account',
101
          value => 'IC',
102
          disabled => AccountIsPosted,
103
          checked  => IC) %]
104
        &nbsp;[% 'Inventory' | $T8 %]
105
        [% L.radio_button_tag('summary_account',
106
          value => '',
107
          disabled => AccountIsPosted) %]
108
        &nbsp;[% 'No summary account' | $T8 %]
109 151

  
110
[% IF AccountIsPosted %]
111
    [% IF AR %] [% L.hidden_tag('AR', 'AR') %] [% END %]
112
    [% IF AP %] [% L.hidden_tag('AP', 'AP') %] [% END %]
113
    [% IF IC %] [% L.hidden_tag('IC', 'IC') %] [% END %]
152
<table class="tbl-horizontal">
153
  <caption>[% 'Report and misc. Preferences' | $T8 %]</caption>
154
  <colgroup><col class="wi-mediumsmall"><col class="wi-wide"></colgroup>
155
  <tbody>
156
  [% IF feature_erfolgsrechnung %]
157
    <tr>
158
      <th>[% 'Erfolgsrechnung' | $T8 %]</th>
159
      <td><select name="pos_er" class="wi-wider">[% select_er %]</select></td>
160
    </tr>
161
  [% END %]
162
  [% IF feature_eurechnung %]
163
    <tr>
164
      <th>[% 'EUER' | $T8 %]</th>
165
      <td><select name="pos_eur" class="wi-wider">[% select_eur %]</select></td>
166
    </tr>
167
    <tr>
168
      <th>[% 'BWA' | $T8 %]</th>
169
      <td><select name="pos_bwa" class="wi-wider">[% select_bwa %]</select></td>
170
    </tr>
171
  [% END %]
172
  [% IF feature_datev %]
173
    <tr>
174
      <th>[% 'Datevautomatik' | $T8 %]</th>
175
      <td><input name="datevautomatik" type="checkbox" value="T" [% IF datevautomatik %]checked [% END %]>[% 'If checked the taxkey will not be exported in the DATEV Export, but only IF chart taxkeys differ from general ledger taxkeys' | $T8 %] </td>
176
    </tr>
177
  [% END %]
178
  <tr>
179
    <th>[% 'Folgekonto' | $T8 %]</th>
180
    <td>
181
      <select name="new_chart_id" class="wi-wider">[% selectnewaccount %]</select>
182
      <span class="label with-element">[% 'Valid from' | $T8 %]
183
      <input name="valid_from" value="[% valid_from %]" type="text" class="wi-mediumsmall"></span>
184
    </td>
185
  </tr>
186
  [% #IF feature_balance %]
187
    <!-- PENDENT: UPDATE: Diese Steuerfunktion hat keine Auswirkung in der Bilanz und wird erstmal deaktiviert. -->
188
    <!--
189
    <tr>
190
      <th>[% 'Bilanz' | $T8 %]</th>
191
      <td colspan="3"><select name="pos_bilanz">[% select_bilanz %]</select></td>
192
    </tr>
193
   -->
194
  [% #END %]
195
  </tbody>
196
</table>
114 197
[% END %]
115 198

  
116
</fieldset>
199
</div><!-- /.col -->
117 200

  
118
[% IF AccountIsPosted %]
119
  [% IF AR_amount %] [% L.hidden_tag('AR_amount', 'AR_amount') %] [% END %]
120
  [% IF AR_paid   %] [% L.hidden_tag('AR_paid',   'AR_paid')   %] [% END %]
121
  [% IF AR_tax    %] [% L.hidden_tag('AR_tax',    'AR_tax')    %] [% END %]
122
  [% IF AP_amount %] [% L.hidden_tag('AP_amount', 'AP_amount') %] [% END %]
123
  [% IF AP_paid   %] [% L.hidden_tag('AP_paid',   'AP_paid')   %] [% END %]
124
  [% IF AP_tax    %] [% L.hidden_tag('AP_tax',    'AP_tax')    %] [% END %]
125
  [%- SET DIS = ' disabled="disabled"' %]
126
[% END %]
127
<fieldset class="DEPENDS ON charttype BEING A">
128
  <legend>[% 'Include in drop-down menus' | $T8 %]</legend>
129
  <p style='font-weight:normal'>[% 'Changes in this block are only sensible if the account is NOT a summary account AND there exists one valid taxkey. To select both Receivables and Payables only make sense for Payment / Receipt (i.e. account cash).' | $T8 %]</p>
130
  <p style='font-weight:normal'>[% 'Changes to Receivables and Payables are only possible if no transactions to this account are posted yet.' | $T8 %]
131
  [% 'The changing of tax-o-matic account is NOT recommended, but if you do so please also (re)configure booking groups and reconfigure ALL charts which point to this tax-o-matic account. ' | $T8 %]</p>
132
  <table width="100%">
201
<div class="col" style="width:30.0em;">
202

  
203

  
204
<h3 class="caption">[% 'Include in drop-down menus' | $T8 %]</h3>
205
<div class="long-description small"><p>[% 'Changes in this block are only sensible if the account is NOT a summary account AND there exists one valid taxkey. To select both Receivables and Payables only make sense for Payment / Receipt (i.e. account cash).' | $T8 %]</p>
206
  <p>
207
    [% 'Changes to Receivables and Payables are only possible if no transactions to this account are posted yet.' | $T8 %]
208
    [% 'The changing of tax-o-matic account is NOT recommended, but if you do so please also (re)configure booking groups and reconfigure ALL charts which point to this tax-o-matic account. ' | $T8 %]</p>
209
</div><!-- /.long-description -->
210

  
211

  
212
<table class="tbl-horizontal">
213
  <colgroup><col class="wi-normal"><col class="wi-normal"></colgroup>
214
  <tbody>
133 215
    <tr>
134
      <th align="left">[% 'Receivables' | $T8 %]</th>
135
      <th align="left">[% 'Payables' | $T8 %]</th>
136
      <th align="left">[% 'Parts Inventory' | $T8 %]</th>
137
      <th align="left">[% 'Service Items' | $T8 %]</th>
216
      <td><b>[% 'Receivables' | $T8 %]</b><br>
217
        [% L.radio_button_tag('AR_include_in_dropdown', value => 'AR_amount', disabled => AccountIsPosted, checked  => AR_amount) %]
218
        [% 'Revenue' | $T8 %] <br>
219
        [% L.radio_button_tag('AR_include_in_dropdown', value => 'AR_paid', disabled => AccountIsPosted, checked  => AR_paid) %]
220
        [% 'Receipt' | $T8 %] <br>
221
        [% L.radio_button_tag('AR_include_in_dropdown', value => 'AR_tax', disabled => AccountIsPosted, checked  => AR_tax) %]
222
        [% 'Tax' | $T8 %] <br>
223
        [% L.radio_button_tag('AR_include_in_dropdown', value => '', disabled => AccountIsPosted) %]
224
        [% 'do not include' | $T8 %]
225
      </td>
226
      <td><b>[% 'Payables' | $T8 %]</b><br>
227
        [% L.radio_button_tag('AP_include_in_dropdown', value => 'AP_amount', disabled => AccountIsPosted, checked  => AP_amount) %]
228
        [% 'Expense/Asset' | $T8 %] <br>
229
        [% L.radio_button_tag('AP_include_in_dropdown', value => 'AP_paid', disabled => AccountIsPosted, checked  => AP_paid) %]
230
        [% 'Payment' | $T8 %] <br>
231
        [% L.radio_button_tag('AP_include_in_dropdown', value => 'AP_tax', disabled => AccountIsPosted, checked  => AP_tax) %]
232
        [% 'Tax' | $T8 %] <br>
233
        [% L.radio_button_tag('AP_include_in_dropdown', value => '', disabled => AccountIsPosted) %]
234
        [% 'do not include' | $T8 %]      </td>
138 235
    </tr>
139 236
    <tr>
140
      <td>
141
        [% L.radio_button_tag('AR_include_in_dropdown',
142
          value => 'AR_amount',
143
          disabled => AccountIsPosted,
144
          checked  => AR_amount) %]
145
        &nbsp;[% 'Revenue' | $T8 %] <br>
146
        [% L.radio_button_tag('AR_include_in_dropdown',
147
          value => 'AR_paid',
148
          disabled => AccountIsPosted,
149
          checked  => AR_paid) %]
150
        &nbsp;[% 'Receipt' | $T8 %] <br>
151
        [% L.radio_button_tag('AR_include_in_dropdown',
152
          value => 'AR_tax',
153
          disabled => AccountIsPosted,
154
          checked  => AR_tax) %]
155
        &nbsp;[% 'Tax' | $T8 %] <br>
156
        [% L.radio_button_tag('AR_include_in_dropdown',
157
          value => '',
158
          disabled => AccountIsPosted) %]
159
        &nbsp;[% 'do not include' | $T8 %]
160
      </td>
161
      <td>
162
        [% L.radio_button_tag('AP_include_in_dropdown',
163
          value => 'AP_amount',
164
          disabled => AccountIsPosted,
165
          checked  => AP_amount) %]
166
        &nbsp;[% 'Expense/Asset' | $T8 %] <br>
167
        [% L.radio_button_tag('AP_include_in_dropdown',
168
          value => 'AP_paid',
169
          disabled => AccountIsPosted,
170
          checked  => AP_paid) %]
171
        &nbsp;[% 'Payment' | $T8 %] <br>
172
        [% L.radio_button_tag('AP_include_in_dropdown',
173
          value => 'AP_tax',
174
          disabled => AccountIsPosted,
175
          checked  => AP_tax) %]
176
        &nbsp;[% 'Tax' | $T8 %] <br>
177
        [% L.radio_button_tag('AP_include_in_dropdown',
178
          value => '',
179
          disabled => AccountIsPosted) %]
180
        &nbsp;[% 'do not include' | $T8 %]
181
      </td>
182
      <td>
183
        <input name="IC_sale" type="checkbox" class="checkbox" value="IC_sale"
184
          [% HTML.escape(IC_sale) %]>&nbsp;
237
      <td><b>[% 'Parts Inventory' | $T8 %]</b><br>
238
        <input name="IC_sale" type="checkbox" value="IC_sale"[% HTML.escape(IC_sale) %]>
185 239
        [% 'Revenue' | $T8 %] <br>
186
        <input name="IC_cogs" type="checkbox" class="checkbox" value="IC_cogs"
187
          [% HTML.escape(IC_cogs) %]>&nbsp;
240
        <input name="IC_cogs" type="checkbox" value="IC_cogs"[% HTML.escape(IC_cogs) %]>
188 241
        [% 'Expense' | $T8 %] <br>
189
        <input name="IC_taxpart" type="checkbox" class="checkbox" value="IC_taxpart"
190
          [% HTML.escape(IC_taxpart) %]>&nbsp;
242
        <input name="IC_taxpart" type="checkbox" value="IC_taxpart" [% HTML.escape(IC_taxpart) %]>
191 243
        [% 'Tax' | $T8 %]
192
        <br><br>
193 244
      </td>
194
      <td>
195
        <input name=IC_income type=checkbox class=checkbox value="IC_income"
196
          [% HTML.escape(IC_income) %]>&nbsp;
245
      <td><b>[% 'Service Items' | $T8 %]</b><br>
246
        <input name=IC_income type=checkbox value="IC_income"[% HTML.escape(IC_income) %]>
197 247
        [% 'Revenue' | $T8 %] <br>
198
        <input name=IC_expense type=checkbox class=checkbox value="IC_expense"
199
          [% HTML.escape(IC_expense) %]>&nbsp;
248
        <input name=IC_expense type=checkbox value="IC_expense"[% HTML.escape(IC_expense) %]>
200 249
        [% 'Expense' | $T8 %] <br>
201
        <input name=IC_taxservice type=checkbox class=checkbox value="IC_taxservice"
202
          [% HTML.escape(IC_taxservice) %]>&nbsp;
250
        <input name=IC_taxservice type=checkbox value="IC_taxservice"[% HTML.escape(IC_taxservice) %]>
203 251
        [% 'Tax' | $T8 %]
204
        <br><br>
205 252
      </td>
206 253
    </tr>
207
  </table>
208
</fieldset>
209

  
210
<fieldset class="DEPENDS ON charttype BEING A">
211
  <legend>
212
    [% 'Taxkeys and Taxreport Preferences' | $T8 %]
213
  </legend>
214
  <p style='font-weight:normal'>[% 'Note: Taxkeys must have a "valid from" date, and will not behave correctly without.' | $T8 %]</p>
254
  </tbody>
255
</table>
256
</div><!-- /.col -->
215 257

  
216
            <table>
217
              <tr>
218
                <th align="left">[% 'Taxkey' | $T8 %]</th>
219
                <th align="left">[% 'valid from' | $T8 %]</th>
220
                [% IF feature_ustva %]
221
                  <th align="left">[% 'pos_ustva' | $T8 %]</th>
222
                [% END %]
223
                <th align="left">[% 'delete' | $T8 %] ? </th>
224
              </tr>
225
[% FOREACH tk = ACCOUNT_TAXKEYS %]
258
</div>
226 259

  
227
              <tr>
228
    [% IF tk.id %]
229
                <input type="hidden" name="taxkey_id_[% tk.runningnumber %]" value="[% tk.id %]">
230
                <td><select name="taxkey_tax_[% tk.runningnumber %]">[% tk.selecttaxkey %]</select></td>
231
                <td><input name="taxkey_startdate_[% tk.runningnumber %]" value="[% HTML.escape(tk.startdate) %]"></td>
232
                [% IF feature_ustva %]
233
                  <td><select name="taxkey_pos_ustva_[% tk.runningnumber %]">[% tk.select_tax %]</select></td>
234
                [% END %]
235
                <td><input name="taxkey_del_[% tk.runningnumber %]" type="checkbox"
236
                class="checkbox" value="delete"></td>
237
    [% ELSE %]
238
                <input type="hidden" name="taxkey_id_[% tk.runningnumber %]" value="NEW">
239
                <td><select name="taxkey_tax_[% tk.runningnumber %]">[% tk.selecttaxkey %]</select></td>
240
                <td><input name="taxkey_startdate_[% tk.runningnumber %]" value="[% HTML.escape(tk.startdate) %]"></td>
241
                [% IF feature_ustva %]
242
                  <td><select name="taxkey_pos_ustva_[% tk.runningnumber %]">[% tk.select_tax %]</select></td>
243
                [% END %]
244
                <td>&nbsp;</td>
245
    [% END %]
246
              </tr>
247 260

  
248 261

  
249
[% END %]
250
    </table>
251
</fieldset>
252

  
253
<fieldset class="DEPENDS ON charttype BEING A">
254
  <legend>[% 'Report and misc. Preferences' | $T8 %]</legend>
255
  <table>
256
        [% IF feature_erfolgsrechnung %]
257
          <tr>
258
            <th align="left">[% 'Erfolgsrechnung' | $T8 %]</th>
259
            <td colspan="3"><select name="pos_er">[% select_er %]</select></td>
260
          </tr>
261
        [% END %]
262
        [% IF feature_eurechnung %]
263
          <tr>
264
            <th align="left">[% 'EUER' | $T8 %]</th>
265
            <td colspan="3"><select name="pos_eur">[% select_eur %]</select></td>
266
          </tr>
267
          <tr>
268
            <th align="left">[% 'BWA' | $T8 %]</th>
269
            <td colspan="3"><select name="pos_bwa">[% select_bwa %]</select></td>
270
          </tr>
271
        [% END %]
272
        [% IF feature_balance %]
273
          <!-- Diese Steuerfunktion hat keine Auswirkung in der Bilanz und wird erstmal deaktiviert. -->
274
          <!-- tr>
275
            <th align="left">[% 'Bilanz' | $T8 %]</th>
276
            <td colspan="3"><select name="pos_bilanz">[% select_bilanz %]</select></td>
277
          </tr -->
278
        [% END %]
279
        [% IF feature_datev %]
280
          <tr>
281
            <th align="left">[% 'Datevautomatik' | $T8 %]</th>
282
            <td colspan="3"><input name="datevautomatik" type="checkbox" class="checkbox" value="T" [% IF datevautomatik %]checked [% END %]>[% 'If checked the taxkey will not be exported in the DATEV Export, but only IF chart taxkeys differ from general ledger taxkeys' | $T8 %] </td>
283
          </tr>
284
        [% END %]
285
        <tr>
286
          <th align="left">[% 'Folgekonto' | $T8 %]</th>
287
          <td><select name="new_chart_id">[% selectnewaccount %]</select></td>
288
          <th align="left">[% 'Valid from' | $T8 %]</th>
289
          <td><input name="valid_from" value="[% valid_from %]"></td>
290
        </tr>
291
  </table>
292
[% END %]
293
</fieldset>
294
<hr size="3" noshade>
295

  
296 262
[% IF ( id ) %]
297
  <script type="text/javascript">
263
<script type="text/javascript">
298 264
  function callback_save() {
299 265
    var prev_desc = "[% description | html %]";
300 266
    var prev_accno = "[% accno | html %]";
......
306 272
    else
307 273
      return true;
308 274
  }
309
  </script>
275
</script>
310 276
[% END %]
311 277
[% L.hidden_tag('callback', callback) %]
312 278
</form>
templates/webpages/am/edit_bins.html
1 1
[%- USE HTML -%][%- USE T8 -%]
2 2

  
3 3
<h1>[% title %]</h1>
4

  
4
<div class="wrapper">
5 5
[% UNLESS BINS.size %]
6 6
 <p>[% 'No bins have been added to this warehouse yet.' | $T8 %]</p>
7 7

  
......
18 18
  <input type="hidden" name="type" value="bin">
19 19
  <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
20 20

  
21
  <table border="0">
21
  <!-- UPDATE: dieses unlustige Konstrukt mit einem echten Mehrspalter versehen, und das ab einer bestimmten Anzahl Plaetze-->
22
  <table class="tbl-list width-moderate">
23
    <thead>
22 24
   <tr>
23
    <th class="listheading">[% 'Delete' | $T8 %]</th><th class="listheading">[% 'Description' | $T8 %]</th>
24
    <th class="listheading">[% 'Delete' | $T8 %]</th><th class="listheading">[% 'Description' | $T8 %]</th>
25
    <th>[% 'Delete' | $T8 %]</th><th>[% 'Description' | $T8 %]</th>
26
    <!-- <th>[% #'Delete' | $T8 %]</th><th>[% #'Description' | $T8 %]</th> -->
25 27
   </tr>
28
   </thead>
29
   <tbody>
26 30
   [%- SET row_odd = '1' %]
27 31
   [%- USE bin_it = Iterator(BINS) %]
28 32
   [%- FOREACH bin = bin_it %]
29
   [%- IF row_odd %]
33
   [%- #IF row_odd %]
30 34
   <tr>
31
    [%- END %]
35
    [%- #END %]
32 36

  
33
    <td>[% IF bin.in_use %]&nbsp;[% ELSE %]<input type="checkbox" name="delete_[% bin_it.count %]" value="1">[% END %]</td>
37
    <td class="center">[% IF bin.in_use %]&nbsp;[% ELSE %]<input type="checkbox" name="delete_[% bin_it.count %]" value="1">[% END %]</td>
34 38
    <td>
35 39
     <input type="hidden" name="id_[% bin_it.count %]" value="[% HTML.escape(bin.id) %]">
36
     <input name="description_[% bin_it.count %]" value="[% HTML.escape(bin.description) %]">
40
     <input name="description_[% bin_it.count %]" value="[% HTML.escape(bin.description) %]" type="text" class="wi-wide">
37 41
    </td>
38 42

  
39
    [%- SET end_tr = '0' %]
40
    [%- UNLESS row_odd %][%- SET end_tr = '1' %][%- END %]
41
    [%- IF bin_it.last %][%- SET end_tr = '1' %][%- END %]
42
    [%- IF end_tr %]
43
    [%- #SET end_tr = '0' %]
44
    [%- #UNLESS row_odd %][%- #SET end_tr = '1' %][%- #END %]
45
    [%- #IF bin_it.last %][%- #SET end_tr = '1' %][%- #END %]
46
    [%- #IF end_tr %]
43 47
   </tr>
44
   [%- END %]
48
   [%- #END %]
45 49

  
46
   [%- IF row_odd %][% SET row_odd = '0' %][% ELSE %][% SET row_odd = '1' %][% END %]
50
   [%- #IF row_odd %][% #SET row_odd = '0' %][% #ELSE %][% #SET row_odd = '1' %][% #END %]
47 51
   [%- END %]
52
   </tbody>
48 53
  </table>
49 54

  
50 55
  <input type="hidden" name="rowcount" value="[% BINS.size %]">
51 56
 </form>
52

  
57
</div>
53 58
[% END %]
templates/webpages/am/edit_tax.html
1
[%- USE T8 %]
2
[%- USE HTML %]
3
[%- USE L %]
4
[%- USE LxERP %]
1
[% USE T8 %]
2
[% USE HTML %]
3
[% USE L %]
4
[% USE LxERP %]
5

  
5 6
<h1>[% 'Tax-O-Matic' | $T8 %] [% title %]</h1>
6 7

  
7
 <form method="post" action="am.pl" id="form">
8
  <input type="hidden" name="id" value="[% HTML.escape(id) %]">
9
  <input type="hidden" name="type" value="tax">
10

  
11
  <table width="100%">
12
   <tr>
13
    <td>[% 'tax_taxkey' | $T8 %]</td>
14
    <td>[% IF tax_already_used %]<p>[% HTML.escape(taxkey) %]</p>
15
        <input type="hidden" name="taxkey" size="2" value="[% HTML.escape(taxkey) %]">
16
        [% ELSE %]<input name="taxkey" size="2" value="[% HTML.escape(taxkey) %]">
17
        [% END %]</td>
18
   </tr>
19

  
20
   <tr>
21
    <td>[% 'tax_taxdescription' | $T8 %]</td>
22
    <td><input name="taxdescription" size="60" value="[% HTML.escape(taxdescription) %]"></td>
23
   </tr>
24

  
25
   [%- FOREACH language = LANGUAGES %]
8
<form method="post" action="am.pl" id="form">
9

  
10
<input type="hidden" name="id" value="[% HTML.escape(id) %]">
11
<input type="hidden" name="type" value="tax">
12

  
13
<div class="wrapper cols">
14

  
15
<table class="tbl-horizontal col">
16
  <caption>[% 'Tax' | $T8 %]</caption>
17
  <tbody>
18
    <tr>
19
      <th>[% 'tax_taxkey' | $T8 %]</th>
20
      <td>
21
        [% IF tax_already_used %]
22
          [% HTML.escape(taxkey) %]
23
          <input type="hidden" name="taxkey" value="[% HTML.escape(taxkey) %]">
24
        [% ELSE %]
25
          <input name="taxkey" value="[% HTML.escape(taxkey) %]" class="wi-tinynumber" type="text">
26
        [% END %]
27
      </td>
28
    </tr>
29
    <tr>
30
      <th>[% 'tax_taxdescription' | $T8 %]</th>
31
      <td><input name="taxdescription" value="[% HTML.escape(taxdescription) %]" class="wi-verywide" type="text"></td>
32
    </tr>
33
    [% FOREACH language = LANGUAGES %]
26 34
    <tr>
27
     <td>[%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %])</td>
28
     <td>
29
      <input name="translation_[% language.id %]" value="[%- HTML.escape(TAX.translated_attribute('taxdescription', language, 1)) %]" size="60">
30
     </td>
35
      <th>[% HTML.escape(language.description) %] ([% LxERP.t8('Translation') %])</th>
36
      <td><input name="translation_[% language.id %]" value="[% HTML.escape(TAX.translated_attribute('taxdescription', language, 1)) %]" class="wi-verywide" type="text"></td>
31 37
    </tr>
32
   [%- END %]
33

  
34
   <tr>
35
    <td>[% 'tax_percent' | $T8 %]</td>
36
    <td>[% IF tax_already_used %]<p>[% HTML.escape(rate) %] %</p>
37
        <input type="hidden" name="rate" size="10" value="[% HTML.escape(rate) %]">
38
        [% ELSE %]<input name="rate" size="10" value="[% HTML.escape(rate) %]"> %
39
        [% END %]</td>
40
   </tr>
41

  
42
   <tr>
43
    <td>[% 'tax_chartaccno' | $T8 %]</td>
44
    <td><select name="chart_id"><option value="">[% 'None' | $T8 %]</option>[% FOREACH row = ACCOUNTS %]<option value="[% HTML.escape(row.id) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.taxaccount) %]</option>[% END %]</select></td>
45
   </tr>
46
   <tr>
47
    <td>[% 'Automatic skonto chart sales' | $T8 %]</td>
48
    <td> [% L.select_tag('skonto_sales_chart_id', AR_PAID, value_title_sub = \skontochart_value_title_sub, with_empty = 1, default = skonto_sales_chart_id) %]</td>
49
   </tr>
50
   <tr>
51
    <td>[% 'Automatic skonto chart purchase' | $T8 %]</td>
52
    <td> [% L.select_tag('skonto_purchase_chart_id', AP_PAID, value_title_sub = \skontochart_value_title_sub, with_empty = 1, default = skonto_purchase_chart_id) %]</td>
53
   </tr>
54
   <tr>
55
    <td>[% 'Account categories' | $T8 %]</td>
56
    <td><table>
57
          <colgroup>
58
            <col width="10">
59
            <col width="130">
60
            <col width="10">
61
            <col width="130">
62
            <col width="10">
63
            <col width="130">
64
            <col width="10">
65
            <col width="130">
66
            <col width="10">
67
            <col width="130">
68
            <col width="10">
69
            <col width="130">
70
          </colgroup>
71
          <tr>
72
            <td align="right">[% IF asset %]
73
                                [% L.checkbox_tag('asset', value => 1, checked => 1, class => 'checkbox') %]
74
                              [% ELSE %]
75
                                [% L.checkbox_tag('asset', value => 1, checked => 0, class => 'checkbox') %]
76
                              [% END %]
77
            </td>
78
            <td align="left">[% 'Asset' | $T8 %] (A)</td>
79
            <td align="right">[% IF liability %]
80
                                [% L.checkbox_tag('liability', value => 1, checked => 1, class => 'checkbox') %]
81
                              [% ELSE %]
82
                                [% L.checkbox_tag('liability', value => 1, checked => 0, class => 'checkbox') %]
83
                              [% END %]
84
            </td>
85
            <td align="left">[% 'Liability' | $T8 %] (L)</td>
86
            <td align="right">[% IF equity %]
87
                                [% L.checkbox_tag('equity', value => 1, checked => 1, class => 'checkbox') %]
88
                              [% ELSE %]
89
                                [% L.checkbox_tag('equity', value => 1, checked => 0, class => 'checkbox') %]
90
                              [% END %]
91
            </td>
92
            <td align="left">[% 'Equity' | $T8 %] (Q)</td>
93
            <td align="right">[% IF revenue %]
94
                                [% L.checkbox_tag('revenue', value => 1, checked => 1, class => 'checkbox') %]
95
                              [% ELSE %]
96
                                [% L.checkbox_tag('revenue', value => 1, checked => 0, class => 'checkbox') %]
97
                              [% END %]
98
            </td>
99
            <td align="left">[% 'Revenue' | $T8 %] (I)</td>
100
            <td align="right">[% IF expense %]
101
                                [% L.checkbox_tag('expense', value => 1, checked => 1, class => 'checkbox') %]
102
                              [% ELSE %]
103
                                [% L.checkbox_tag('expense', value => 1, checked => 0, class => 'checkbox') %]
104
                              [% END %]
105
            </td>
106
            <td align="left">[% 'Expense' | $T8 %] (E)</td>
107
            <td align="right">[% IF costs %]
108
                                [% L.checkbox_tag('costs', value => 1, checked => 1, class => 'checkbox') %]
109
                              [% ELSE %]
110
                                [% L.checkbox_tag('costs', value => 1, checked => 0, class => 'checkbox') %]
111
                              [% END %]
112
            </td>
113
            <td align="left">[% 'Costs' | $T8 %] (C)</td>
114
          </tr>
115
        </table>
116
     </td>
117
   </tr>
118

  
119
  </table>
120
  </table>
121

  
122
  [% UNLESS orphaned %]
123
  <br />
124
  [% 'Chartaccounts connected to this Tax:' | $T8 %]
125
  [% FOREACH row = TAXINUSE %]
126
  <a href="am.pl?action=edit_account&id=[% HTML.url(row.id) %]&callback=[% HTML.url(callback) %]">[% HTML.escape(row.accno) %]</a>&nbsp;
127
  [% END %]
128
  <br />
129
  [% END %]
130

  
131
  <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
38
    [% END %]
39
    <tr>
40
      <th>[% 'tax_percent' | $T8 %]</th>
41
      <td>
42
        [% IF tax_already_used %]
43
          [% HTML.escape(rate) %]%
44
          <input type="hidden" name="rate" value="[% HTML.escape(rate) %]">
45
        [% ELSE %]
46
          <input name="rate" value="[% HTML.escape(rate) %]" class="wi-tinynumber" type="text">%
47
        [% END %]
48
      </td>
49
    </tr>
50
    <tr>
51
      <th>[% 'tax_chartaccno' | $T8 %]</th>
52
      <td>
53
        <select name="chart_id" class="wi-verywide">
54
          <option value="">[% 'None' | $T8 %]</option>
55
          [% FOREACH row = ACCOUNTS %]
56
            <option value="[% HTML.escape(row.id) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.taxaccount) %]</option>
57
          [% END %]
58
        </select>
59
      </td>
60
    </tr>
61
    <tr>
62
      <th>[% 'Automatic skonto chart sales' | $T8 %]</th>
63
      <td>[% L.select_tag('skonto_sales_chart_id', AR_PAID, value_title_sub = \skontochart_value_title_sub, with_empty = 1, default = skonto_sales_chart_id, class='wi-verywide') %]</td>
64
    </tr>
65
    <tr>
66
      <th>[% 'Automatic skonto chart purchase' | $T8 %]</th>
67
      <td>[% L.select_tag('skonto_purchase_chart_id', AP_PAID, value_title_sub = \skontochart_value_title_sub, with_empty = 1, default = skonto_purchase_chart_id class='wi-verywide') %]</td>
68
    </tr>
69
    <tr>
70
      <th>[% 'Account categories' | $T8 %]</th>
71
      <td>
72
        [% IF asset %]
73
          [% L.checkbox_tag('asset', value => 1, checked => 1) %]
74
        [% ELSE %]
75
          [% L.checkbox_tag('asset', value => 1, checked => 0) %]
76
        [% END %]
77
        [% 'Asset' | $T8 %] (A) <br>
78

  
79
        [% IF liability %]
80
          [% L.checkbox_tag('liability', value => 1, checked => 1) %]
81
        [% ELSE %]
82
          [% L.checkbox_tag('liability', value => 1, checked => 0) %]
83
        [% END %]
84
        [% 'Liability' | $T8 %] (L) <br>
85

  
86
        [% IF equity %]
87
          [% L.checkbox_tag('equity', value => 1, checked => 1) %]
88
        [% ELSE %]
89
          [% L.checkbox_tag('equity', value => 1, checked => 0) %]
90
        [% END %]
91
        [% 'Equity' | $T8 %] (Q) <br>
92

  
93
        [% IF revenue %]
94
          [% L.checkbox_tag('revenue', value => 1, checked => 1) %]
95
        [% ELSE %]
96
          [% L.checkbox_tag('revenue', value => 1, checked => 0) %]
97
        [% END %]
98
        [% 'Revenue' | $T8 %] (I) <br>
99

  
100
        [% IF expense %]
101
          [% L.checkbox_tag('expense', value => 1, checked => 1) %]
102
        [% ELSE %]
103
          [% L.checkbox_tag('expense', value => 1, checked => 0) %]
104
        [% END %]
105
        [% 'Expense' | $T8 %] (E) <br>
106

  
107
        [% IF costs %]
108
          [% L.checkbox_tag('costs', value => 1, checked => 1) %]
109
        [% ELSE %]
110
          [% L.checkbox_tag('costs', value => 1, checked => 0) %]
111
        [% END %]
112
        [% 'Costs' | $T8 %] (C)
113
      </td>
114
    </tr>
115
  </tbody>
116
</table>
117

  
118

  
119
[% UNLESS orphaned %]
120
<div class="col">
121
  <h3 class="caption">[% 'Chartaccounts connected to this Tax:' | $T8 %]</h3>
122
  <ul>
123
    [% FOREACH row = TAXINUSE %]
124
      <li><a href="am.pl?action=edit_account&id=[% HTML.url(row.id) %]&callback=[% HTML.url(callback) %]">[% HTML.escape(row.accno) %]</a></li>
125
    [% END %]
126
  </ul>
127
</div>
128
[% END %]
129

  
130
<input type="hidden" name="callback" value="[% #HTML.escape(callback) %]">
131

  
132
</div><!-- /.wrapper -->
132 133
</form>
134

  
135

  
templates/webpages/am/edit_templates.html
1
[%- USE T8 %]
2
[%- USE HTML %]
3

  
4
 <h1>[% title %]</h1>
5

  
6
  [% IF type == 'templates' %]
7
   <p style="text-align: right;">[<a href="doc/html/ch03s03.html" target="_blank" title="[% 'Open in new window' | $T8 %]">[% 'Help Template Variables' | $T8 %]</a>]</p>
8
  [% END %]
9

  
10
 <form method="post" name="Form" action="amtemplates.pl" id="form">
11

  
12
  [% FOREACH var = HIDDEN %]<input type="hidden" name="[% HTML.escape(var.name) %]" value="[% HTML.escape(var.value) %]">[% END %]
13

  
14
  [% IF SHOW_EDIT_OPTIONS %]
15
   <p>
16
    [% 'Template' | $T8 %]
17
    <select name="formname">
18
     [% FOREACH row = FORMNAME %]<option value="[% HTML.escape(row.value) %]" [% IF row.value == formname %]selected[% END %]>[% HTML.escape(row.label) %]</option>[% END %]
19
    </select>
20

  
1
[% USE T8 %]
2
[% USE HTML %]
3

  
4
<h1>[% title %]</h1>
5

  
6
[% IF type == 'templates' %]
7
  <p style="text-align: right;">[<a href="doc/html/ch03s03.html" target="_blank" title="[% 'Open in new window' | $T8 %]">[% 'Help Template Variables' | $T8 %]</a>]</p>
8
[% END %]
9

  
10
<form method="post" name="Form" action="amtemplates.pl" id="form">
11
[% FOREACH var = HIDDEN %]<input type="hidden" name="[% HTML.escape(var.name) %]" value="[% HTML.escape(var.value) %]">[% END %]
12

  
13
[% IF SHOW_EDIT_OPTIONS %]
14
<table class="tbl-horizontal">
15
  <caption>[% '' | $T8 %]</caption>
16
  <colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
17
  <tbody>
18
    <tr>
19
      <th>[% 'Template' | $T8 %]</th>
20
      <td>
21
        <select name="formname">
22
          [% FOREACH row = FORMNAME %]<option value="[% HTML.escape(row.value) %]" [% IF row.value == formname %]selected[% END %]>[% HTML.escape(row.label) %]</option>[% END %]
23
        </select>
24
      </td>
25
    </tr>
21 26
    [% IF LANGUAGE.size %]
22
     [% 'Language' | $T8 %]
... Dieser Diff wurde abgeschnitten, weil er die maximale Anzahl anzuzeigender Zeilen überschreitet.

Auch abrufbar als: Unified diff