Revision 5009e34e
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/am/config.html | ||
---|---|---|
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> |
|
25 |
<tr> |
|
26 |
<th>[% 'Name' | $T8 %]</th> |
|
27 |
<td><input type="text" name="name" class="wi-wide" value="[% HTML.escape(MYCONFIG.name) %]"></td> |
|
28 |
</tr> |
|
58 | 29 |
<tr> |
59 |
<th align="right">[% 'taxincluded checked' | $T8 %]</th>
|
|
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> |
|
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> |
|
131 | 106 |
<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> |
|
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>
|
|
137 | 112 |
</td> |
138 |
</tr> |
|
139 |
|
|
140 |
<tr> |
|
141 |
<th align="right">[% 'Form details (second row)' | $T8 %]</th> |
|
113 |
</tr> |
|
114 |
<tr> |
|
115 |
<th>[% 'Form details (second row)' | $T8 %]</th> |
|
142 | 116 |
<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> |
|
117 |
<select name="show_form_details" class="wi-lightwide">
|
|
118 |
<option value="1"[% IF MYCONFIG.show_form_details %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
|
|
119 |
<option value="0"[% IF !MYCONFIG.show_form_details %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
|
|
120 |
</select>
|
|
147 | 121 |
</td> |
148 |
</tr> |
|
149 |
|
|
150 |
[%- IF INSTANCE_CONF.get_feature_experimental_order -%] |
|
151 |
<tr> |
|
152 |
<th align="right">[% 'Scrollbar height percentage for form postion area (0 means no scrollbar)' | $T8 %]</th> |
|
122 |
</tr> |
|
123 |
[%- IF INSTANCE_CONF.get_feature_experimental_order -%] |
|
124 |
<tr> |
|
125 |
<th>[% 'Scrollbar height percentage for form postion area (0 means no scrollbar)' | $T8 %]</th> |
|
153 | 126 |
<td> |
154 | 127 |
[% L.input_tag('positions_scrollbar_height', positions_scrollbar_height, size = 5) %] |
155 | 128 |
</td> |
156 |
</tr>
|
|
157 |
<tr>
|
|
158 |
<th align="right">[% 'Search parts by vendor partnumber (model) in purchase order forms' | $T8 %]</th>
|
|
129 |
</tr> |
|
130 |
<tr> |
|
131 |
<th>[% 'Search parts by vendor partnumber (model) in purchase order forms' | $T8 %]</th> |
|
159 | 132 |
<td> |
160 | 133 |
[% L.yes_no_tag('purchase_search_makemodel', purchase_search_makemodel) %] |
161 | 134 |
[%- 'This also enables displaying a column with the vendor partnumber (model) (new order controller).' | $T8 %] |
162 | 135 |
</td> |
163 |
</tr>
|
|
164 |
<tr>
|
|
165 |
<th align="right">[% 'Search parts by customer partnumber in sales order forms' | $T8 %]</th>
|
|
136 |
</tr> |
|
137 |
<tr> |
|
138 |
<th>[% 'Search parts by customer partnumber in sales order forms' | $T8 %]</th> |
|
166 | 139 |
<td> |
167 | 140 |
[% L.yes_no_tag('sales_search_customer_partnumber', sales_search_customer_partnumber) %] |
168 | 141 |
[%- 'This also enables displaying a column with the customer partnumber (new order controller).' | $T8 %] |
169 | 142 |
</td> |
170 |
</tr>
|
|
171 |
<tr>
|
|
172 |
<th align="right">[% 'Show update button for positions in order forms' | $T8 %]</th>
|
|
143 |
</tr> |
|
144 |
<tr> |
|
145 |
<th>[% 'Show update button for positions in order forms' | $T8 %]</th> |
|
173 | 146 |
<td> |
174 | 147 |
[% L.yes_no_tag('positions_show_update_button', positions_show_update_button) %] |
175 | 148 |
</td> |
176 |
</tr> |
|
177 |
[%- END -%] |
|
178 |
|
|
179 |
<tr> |
|
180 |
<th align="right">[% 'Show custom variable search inputs' | $T8 %]</th> |
|
149 |
</tr> |
|
150 |
[%- END -%] |
|
151 |
<tr> |
|
152 |
<th>[% 'Show custom variable search inputs' | $T8 %]</th> |
|
181 | 153 |
<td> |
182 |
<select name="hide_cvar_search_options">
|
|
183 |
<option value="0"[% IF !MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Show by default' | $T8 %]</option> |
|
184 |
<option value="1"[% IF MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Hide by default' | $T8 %]</option> |
|
185 |
</select> |
|
154 |
<select name="hide_cvar_search_options" class="wi-lightwide">
|
|
155 |
<option value="0"[% IF !MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
|
|
156 |
<option value="1"[% IF MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
|
|
157 |
</select>
|
|
186 | 158 |
</td> |
187 |
</tr> |
|
188 |
|
|
189 |
<tr> |
|
190 |
<th align="right">[% 'Number of columns of custom variables in form details (second row)' | $T8 %]</th> |
|
159 |
</tr> |
|
160 |
<tr> |
|
161 |
<th>[% 'Number of columns of custom variables in form details (second row)' | $T8 %]</th> |
|
162 |
<td>[% L.input_tag('form_cvars_nr_cols', MYCONFIG.form_cvars_nr_cols || 3, class='wi-verysmall') %]</td> |
|
163 |
</tr> |
|
164 |
<tr> |
|
165 |
<th>[% 'Quick Searches that will be shown in the header for this user' | $T8 %]</th> |
|
191 | 166 |
<td> |
192 |
[% L.input_tag('form_cvars_nr_cols', MYCONFIG.form_cvars_nr_cols || 3, size = 5) %] |
|
193 |
</td> |
|
194 |
</tr> |
|
195 |
|
|
196 |
<tr> |
|
197 |
<th align="right">[% 'Quick Searches that will be shown in the header for this user' | $T8 %]</th> |
|
198 |
<td colspan=2> |
|
199 |
<div class="clearfix"> |
|
200 |
[% L.select_tag("quick_search_modules[]", |
|
201 |
enabled_quick_searchmodules, |
|
202 |
value_key = "name", |
|
203 |
title_key = "description_config", |
|
204 |
id = "quick_searches", |
|
205 |
multiple = 1, |
|
206 |
with_empty = 1 |
|
207 |
size = enabled_quick_searchmodules.size, |
|
208 |
default = default_quick_searchmodules) %] |
|
167 |
<div> |
|
168 |
[% L.select_tag("quick_search_modules[]", |
|
169 |
enabled_quick_searchmodules, |
|
170 |
value_key = "name", |
|
171 |
title_key = "description_config", |
|
172 |
id = "quick_searches", |
|
173 |
multiple = 1, |
|
174 |
with_empty = 1, |
|
175 |
size = enabled_quick_searchmodules.size, |
|
176 |
default = default_quick_searchmodules) %] |
|
209 | 177 |
</div> |
210 | 178 |
</td> |
211 | 179 |
</tr> |
212 |
|
|
213 |
<tr> |
|
214 |
<th align="right">[% 'Displayable Name Preferences' | $T8 %]</th> |
|
215 |
<td> |
|
216 |
<table> |
|
217 |
[% FOREACH module=displayable_name_specs_by_module.keys.sort %] |
|
218 |
[%- SET spec=displayable_name_specs_by_module.$module -%] |
|
219 |
<tr> |
|
220 |
<td align="right">[% spec.specs.title %]</td> |
|
221 |
<td> |
|
222 |
<table> |
|
223 |
<tr> |
|
224 |
<th align="left" class="listheading">[% 'Option' | $T8 %]</th> |
|
225 |
<th align="left" class="listheading">[% 'Name' | $T8 %]</th> |
|
226 |
</tr> |
|
227 |
[% FOREACH option=spec.specs.options %] |
|
228 |
<tr> |
|
229 |
<td>[% option.title %]</td> |
|
230 |
<td>[% option.name %]</td> |
|
231 |
</tr> |
|
232 |
[% END %] |
|
233 |
<tr> |
|
234 |
<th align="left">[% 'Display' | $T8 %]:</th> |
|
235 |
<td> |
|
236 |
[% L.hidden_tag("displayable_name_specs[+].module", module) %] |
|
237 |
[% L.input_tag("displayable_name_specs[].value", spec.prefs.get, size=50) %] |
|
238 |
</td> |
|
239 |
</tr> |
|
240 |
</table> |
|
241 |
</td> |
|
242 |
</tr> |
|
243 |
[% END %] |
|
244 |
</table> |
|
245 |
</td> |
|
246 |
|
|
247 |
</table> |
|
248 |
</div> |
|
249 |
|
|
250 |
<div id="page_print_options"> |
|
251 |
|
|
252 |
<table> |
|
253 |
<input name="printer" type="hidden" value="[% HTML.escape(MYCONFIG.printer) %]"> |
|
254 |
|
|
255 |
<tr> |
|
256 |
<th align="right">[% 'Default template format' | $T8 %]</th> |
|
257 |
<td> |
|
258 |
[% L.select_tag('template_format', TEMPLATE_FORMATS, value_key = 'value', title_key = 'name') %] |
|
259 |
</td> |
|
260 |
</tr> |
|
261 |
|
|
262 |
<tr> |
|
263 |
<th align="right">[% 'Default output medium' | $T8 %]</th> |
|
264 |
<td> |
|
265 |
[% L.select_tag('default_media', MEDIA, value_key = 'value', title_key = 'name') %] |
|
266 |
</td> |
|
267 |
</tr> |
|
268 |
|
|
269 |
<tr> |
|
270 |
<th align="right">[% 'Default printer' | $T8 %]</th> |
|
180 |
<tr> |
|
181 |
<th align="right">[% 'Displayable Name Preferences' | $T8 %]</th> |
|
271 | 182 |
<td> |
272 |
[% L.select_tag('default_printer_id', PRINTERS, default = MYCONFIG.default_printer_id, title_key = 'printer_description', with_empty = 1) %] |
|
183 |
<table> |
|
184 |
[% FOREACH module=displayable_name_specs_by_module.keys.sort %] |
|
185 |
[%- SET spec=displayable_name_specs_by_module.$module -%] |
|
186 |
<tr> |
|
187 |
<td align="right">[% spec.specs.title %]</td> |
|
188 |
<td> |
|
189 |
<table> |
|
190 |
<tr> |
|
191 |
<th align="left" class="listheading">[% 'Option' | $T8 %]</th> |
|
192 |
<th align="left" class="listheading">[% 'Name' | $T8 %]</th> |
|
193 |
</tr> |
|
194 |
[% FOREACH option=spec.specs.options %] |
|
195 |
<tr> |
|
196 |
<td>[% option.title %]</td> |
|
197 |
<td>[% option.name %]</td> |
|
198 |
</tr> |
|
199 |
[% END %] |
|
200 |
<tr> |
|
201 |
<th align="left">[% 'Display' | $T8 %]:</th> |
|
202 |
<td> |
|
203 |
[% L.hidden_tag("displayable_name_specs[+].module", module) %] |
|
204 |
[% L.input_tag("displayable_name_specs[].value", spec.prefs.get, size=50) %] |
|
205 |
</td> |
|
206 |
</tr> |
|
207 |
</table> |
|
208 |
</td> |
|
209 |
</tr> |
|
210 |
[% END %] |
|
211 |
</table> |
|
273 | 212 |
</td> |
274 |
</tr> |
|
275 |
|
|
276 |
<tr> |
|
277 |
<th align="right">[% 'Number of copies' | $T8 %]</th> |
|
278 |
<td><input name="copies" size="10" value="[% HTML.escape(MYCONFIG.copies) %]"></td> |
|
279 |
</tr> |
|
213 |
</tr> |
|
214 |
</tbody> |
|
280 | 215 |
</table> |
281 |
</div> |
|
282 |
|
|
283 |
<div id="page_todo_list_options"> |
|
216 |
</div><!-- /.wrapper --> |
|
217 |
</div><!-- /#page_display_options --> |
|
218 |
|
|
219 |
|
|
220 |
<div id="page_print_options"> |
|
221 |
<div class="wrapper"> |
|
222 |
<input name="printer" type="hidden" value="[% HTML.escape(MYCONFIG.printer) %]"> |
|
223 |
<table class="tbl-horizontal"> |
|
224 |
<caption>[% 'Print options' | $T8 %]</caption> |
|
225 |
<tbody> |
|
226 |
<tr> |
|
227 |
<th>[% 'Default template format' | $T8 %]</th> |
|
228 |
<td> [% L.select_tag('template_format', TEMPLATE_FORMATS, value_key = 'value', title_key = 'name', class='wi-normal') %] |
|
229 |
</td> |
|
230 |
</tr> |
|
231 |
<tr> |
|
232 |
<th>[% 'Default output medium' | $T8 %]</th> |
|
233 |
<td> [% L.select_tag('default_media', MEDIA, value_key = 'value', title_key = 'name', class='wi-normal') %] |
|
234 |
</td> |
|
235 |
</tr> |
|
236 |
<tr> |
|
237 |
<th>[% 'Default printer' | $T8 %]</th> |
|
238 |
<td> [% L.select_tag('default_printer_id', PRINTERS, default = MYCONFIG.default_printer_id, title_key = 'printer_description', with_empty = 1, class='wi-normal') %] |
|
239 |
</td> |
|
240 |
</tr> |
|
241 |
<tr> |
|
242 |
<th>[% 'Number of copies' | $T8 %]</th> |
|
243 |
<td> |
|
244 |
<input type="text" name="copies" size="10" value="[% HTML.escape(MYCONFIG.copies) %]" class="wi-normal"> |
|
245 |
</td> |
|
246 |
</tr> |
|
247 |
</tbody> |
|
248 |
</table> |
|
249 |
</div><!-- /.wrapper --> |
|
250 |
</div><!-- /#page_print_options --> |
|
284 | 251 |
|
285 |
<table> |
|
286 |
<tr> |
|
287 |
<th align="right">[% 'Show your TODO list after logging in' | $T8 %]</th> |
|
288 |
<td colspan="2"> |
|
289 |
<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 %]> |
|
290 |
<label for="todo_cfg_show_after_login_1">[% 'Yes' | $T8 %]</label> |
|
291 |
<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 %]> |
|
292 |
<label for="todo_cfg_show_after_login_0">[% 'No' | $T8 %]</label> |
|
293 |
</td> |
|
294 |
</tr> |
|
295 | 252 |
|
296 |
<tr class="listheading"> |
|
297 |
<th colspan="3">[% 'Configuration of individual TODO items' | $T8 %]</th> |
|
298 |
</tr> |
|
253 |
<div id="page_todo_list_options"> |
|
254 |
<div class="wrapper"> |
|
255 |
<table class="tbl-horizontal"> |
|
256 |
<caption>[% 'Todo list options' | $T8 %]</caption> |
|
257 |
<colgroup> <col class="wi-normal"><col class="wi-normal"> </colgroup> |
|
258 |
<tbody> |
|
259 |
<tr> |
|
260 |
<th>[% 'Show your TODO list after logging in' | $T8 %]</th> |
|
261 |
<td> |
|
262 |
<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 %]> |
|
263 |
<label for="todo_cfg_show_after_login_1">[% 'Yes' | $T8 %]</label> |
|
264 |
<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 %]> |
|
265 |
<label for="todo_cfg_show_after_login_0">[% 'No' | $T8 %]</label> |
|
266 |
</td> |
|
267 |
</tr> |
|
268 |
<tr> |
|
269 |
<th colspan="2" class="caption">[% 'Configuration of individual TODO items' | $T8 %]</th> |
|
270 |
</tr> |
|
271 |
<tr> |
|
272 |
<th>[% 'Show follow ups...' | $T8 %]</th> |
|
273 |
<td> |
|
274 |
<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 %]> |
|
275 |
<label for="todo_cfg_show_follow_ups">[% '...on the TODO list' | $T8 %]</label> <br> |
|
276 |
<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 %]> |
|
277 |
<label for="todo_cfg_show_follow_ups_login">[% '...after logging in' | $T8 %]</label> |
|
278 |
</td> |
|
279 |
</tr> |
|
280 |
[% IF AUTH.assert('sales_quotation_edit', 'may_fail') %] |
|
281 |
<tr> |
|
282 |
<th>[% 'Show overdue sales quotations and requests for quotations...' | $T8 %]</th> |
|
283 |
<td> |
|
284 |
<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 %]> |
|
285 |
<label for="todo_cfg_show_overdue_sales_quotations">[% '...on the TODO list' | $T8 %]</label> <br> |
|
286 |
<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 %]> |
|
287 |
<label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after logging in' | $T8 %]</label> |
|
288 |
</td> |
|
289 |
</tr> |
|
290 |
[% END %] |
|
291 |
</tbody> |
|
292 |
</table> |
|
293 |
</div><!-- /.wrapper --> |
|
294 |
</div><!-- /#page_todo_list_options --> |
|
299 | 295 |
|
300 |
<tr> |
|
301 |
<th align="right">[% 'Show follow ups...' | $T8 %]</th> |
|
302 |
<td> |
|
303 |
<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 %]> |
|
304 |
<label for="todo_cfg_show_follow_ups">[% '...on the TODO list' | $T8 %]</label> |
|
305 |
</td> |
|
306 |
<td> |
|
307 |
<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 %]> |
|
308 |
<label for="todo_cfg_show_follow_ups_login">[% '...after logging in' | $T8 %]</label> |
|
309 |
</td> |
|
310 |
</tr> |
|
311 | 296 |
|
312 |
[%- IF AUTH.assert('sales_quotation_edit', 'may_fail') %] |
|
313 |
<tr> |
|
314 |
<th align="right">[% 'Show overdue sales quotations and requests for quotations...' | $T8 %]</th> |
|
315 |
<td> |
|
316 |
<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 %]> |
|
317 |
<label for="todo_cfg_show_overdue_sales_quotations">[% '...on the TODO list' | $T8 %]</label> |
|
318 |
</td> |
|
319 |
<td> |
|
320 |
<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 %]> |
|
321 |
<label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after logging in' | $T8 %]</label> |
|
322 |
</td> |
|
323 |
</tr> |
|
324 |
[%- END %] |
|
325 |
</table> |
|
326 |
</div> |
|
327 |
</div> |
|
328 |
</form> |
|
297 |
</div> |
|
298 |
</form> |
|
329 | 299 |
|
330 | 300 |
<script type="text/javascript"> |
331 | 301 |
<!-- |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/am/config.html