Merge branch 'master' of lx-office.linet-services.de:lx-office-erp
[kivitendo-erp.git] / templates / webpages / am / config.html
1 [%- USE T8 %]
2 [%- USE LxERP %]
3 [% USE HTML %]<body onLoad="fokus()">
4
5  <p>
6   <div class="listtop">[% title %]</div>
7  </p>
8
9  <form method="post" action="am.pl" name="Form">
10
11   <ul id="maintab" class="shadetabs">
12    <li class="selected"><a href="#" rel="page_personal_settings">[% 'Personal settings' | $T8 %]</a></li>
13    <li><a href="#" rel="page_display_options">[% 'Display options' | $T8 %]</a></li>
14    <li><a href="#" rel="page_print_options">[% 'Print options' | $T8 %]</a></li>
15    <li><a href="#" rel="page_todo_list_options">[% 'TODO list options' | $T8 %]</a></li>
16   </ul>
17
18   <input type="hidden" name="type" value="preferences">
19   <input type="hidden" name="role" value="[% HTML.escape(myconfig_role) %]">
20
21   <div class="tabcontentstyle">
22
23    <div id="page_personal_settings" class="tabcontent">
24
25     <table>
26      <tr>
27       <th align="right">[% 'Name' | $T8 %]</th>
28       <td><input name="name" size="15" value="[% HTML.escape(myconfig_name) %]"></td>
29      </tr>
30
31      <tr>
32       <th align="right">[% 'Password' | $T8 %]</th>
33       <td>
34        [%- IF CAN_CHANGE_PASSWORD %]
35        <input type="password" name="new_password" size="10" value="********">
36        [%- ELSE %]
37        <input type="hidden" name="new_password" value="********">
38        [%- END %]
39       </td>
40      </tr>
41
42      <tr>
43       <th align="right">[% 'E-mail' | $T8 %]</th>
44       <td><input name="email" size="30" value="[% HTML.escape(myconfig_email) %]"></td>
45      </tr>
46
47      <tr valign="top">
48       <th align="right">[% 'Signature' | $T8 %]</th>
49       <td><textarea name="signature" rows="3" cols="50">[% HTML.escape(myconfig_signature) %]</textarea></td>
50      </tr>
51
52      <tr>
53       <th align="right">[% 'Phone' | $T8 %]</th>
54       <td><input name="tel" size="14" value="[% HTML.escape(myconfig_tel) %]"></td>
55      </tr>
56
57      <tr>
58       <th align="right">[% 'Fax' | $T8 %]</th>
59       <td><input name="fax" size="14" value="[% HTML.escape(myconfig_fax) %]"></td>
60      </tr>
61      <tr>
62       <th align="right">[% 'Company' | $T8 %]</th>
63       <td><input name="company" size="30" value="[% HTML.escape(myconfig_company) %]"></td>
64      </tr>
65      <tr valign="top">
66       <th align="right">[% 'Address' | $T8 %]</th>
67       <td><textarea name="address" rows="4" cols="50">[% HTML.escape(myconfig_address) %]</textarea></td>
68      </tr>
69      <tr>
70       <th align="right">[% 'SEPA creditor ID' | $T8 %]</th>
71       <td><input name="sepa_creditor_id" size="30" maxlength="35" value="[% HTML.escape(myconfig_sepa_creditor_id) %]"></td>
72      </tr>
73     </table>
74
75     <br style="clear: left" />
76    </div>
77
78    <div id="page_display_options" class="tabcontent">
79
80     <table>
81      <tr>
82       <th align="right">[% 'Date Format' | $T8 %]</th>
83       <td>
84        <select name="dateformat">
85         [%- FOREACH row = DATEFORMATS %]
86         <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
87         [%- END %]
88        </select>
89       </td>
90      </tr>
91      <tr>
92       <th align="right">[% 'Output Number Format' | $T8 %]</th>
93       <td>
94        <select name="numberformat">
95         [%- FOREACH row = NUMBERFORMATS %]
96         <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
97         [%- END %]
98        </select>
99       </td>
100      </tr>
101
102      <tr>
103       <th align="right">[% 'Dropdown Limit' | $T8 %]</th>
104       <td><input name="vclimit" size="10" value="[% HTML.escape(myconfig_vclimit) %]"></td>
105      </tr>
106
107      <tr>
108       <th align="right">[% 'Language' | $T8 %]</th>
109       <td>
110        <select name="countrycode">
111         [%- FOREACH row = COUNTRYCODES %]
112         <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
113         [%- END %]
114        </select>
115       </td>
116      </tr>
117
118      <tr>
119       <th align="right">[% 'Stylesheet' | $T8 %]</th>
120       <td>
121        <select name="usestylesheet">
122         [%- FOREACH row = STYLESHEETS %]
123         <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
124         [%- END %]
125        </select>
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="v4"[% IF myconfig_menustyle == 'v4' %] selected[% END %]>[% 'Top (CSS) new' | $T8 %]</option>
136         <option value="neu"[% IF myconfig_menustyle == 'neu' %] selected[% END %]>[% 'Top (Javascript)' | $T8 %]</option>
137         <option value="xml"[% IF myconfig_menustyle == 'xml' %] selected[% END %]>[% 'Top (XUL; only for Mozilla Firefox)' | $T8 %]</option>
138        </select>
139       </td>
140      </tr>
141
142      <tr valign="top">
143       <th align="right">[% 'Favorites' | $T8 %]</th>
144       <td><textarea name="favorites" rows="4" cols="50">[% HTML.escape(myconfig_favorites) %]</textarea></td>
145      </tr>
146
147      <tr>
148       <th align="right">[% 'Form details (second row)' | $T8 %]</th>
149       <td>
150        <select name="show_form_details">
151         <option value="1"[% IF  myconfig_show_form_details %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
152         <option value="0"[% IF !myconfig_show_form_details %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
153        </select>
154       </td>
155      </tr>
156
157      <tr>
158       <th align="right">[% 'Show custom variable search inputs' | $T8 %]</th>
159       <td>
160        <select name="hide_cvar_search_options">
161         <option value="0"[% IF !myconfig_hide_cvar_search_options %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
162         <option value="1"[% IF  myconfig_hide_cvar_search_options %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
163        </select>
164       </td>
165      </tr>
166     </table>
167
168     <p>[% LxERP.t8('Note: For Firefox 4 and later the menu XUL menu requires the addon <a href="#1">Remote XUL Manager</a> and the Lx-Office server to be white listed.', 'https://addons.mozilla.org/de/firefox/addon/remote-xul-manager/') %]</p>
169
170     <br style="clear: left" />
171    </div>
172
173    <div id="page_print_options" class="tabcontent">
174
175     <table>
176      <input name="printer" type="hidden" value="[% HTML.escape(myconfig_printer) %]">
177
178      <tr>
179       <th align="right">[% 'Default template format' | $T8 %]</th>
180       <td>
181        <select name="template_format">
182         [%- FOREACH row = TEMPLATE_FORMATS %]
183         <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
184         [%- END %]
185        </select>
186       </td>
187      </tr>
188
189      <tr>
190       <th align="right">[% 'Default output medium' | $T8 %]</th>
191       <td>
192        <select name="default_media">
193         [%- FOREACH row = MEDIA %]
194         <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
195         [%- END %]
196        </select>
197       </td>
198      </tr>
199
200      <tr>
201       <th align="right">[% 'Default printer' | $T8 %]</th>
202       <td>
203        <select name="default_printer_id">
204         [%- FOREACH row = PRINTERS %]
205         <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
206         [%- END %]
207        </select>
208       </td>
209      </tr>
210
211      <tr>
212       <th align="right">[% 'Number of copies' | $T8 %]</th>
213       <td><input name="copies" size="10" value="[% HTML.escape(myconfig_copies) %]"></td>
214      </tr>
215     </table>
216
217     <br style="clear: left" />
218    </div>
219
220    <div id="page_todo_list_options" class="tabcontent">
221
222     <table>
223      <tr>
224       <th align="right">[% 'Show your TODO list after loggin in' | $T8 %]</th>
225       <td colspan="2">
226        <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 %]>
227        <label for="todo_cfg_show_after_login_1">[% 'Yes' | $T8 %]</label>
228        <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 %]>
229        <label for="todo_cfg_show_after_login_0">[% 'No' | $T8 %]</label>
230       </td>
231      </tr>
232
233      <tr class="listheading">
234       <th colspan="3">[% 'Configuration of individual TODO items' | $T8 %]</th>
235      </tr>
236
237      <tr>
238       <th align="right">[% 'Show follow ups...' | $T8 %]</th>
239       <td>
240        <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 %]>
241        <label for="todo_cfg_show_follow_ups">[% '...on the TODO list' | $T8 %]</label>
242       </td>
243       <td>
244        <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 %]>
245        <label for="todo_cfg_show_follow_ups_login">[% '...after loggin in' | $T8 %]</label>
246       </td>
247      </tr>
248
249      [%- IF AUTH_RIGHTS_SALES_QUOTATION_EDIT %]
250      <tr>
251       <th align="right">[% 'Show overdue sales quotations and requests for quotations...' | $T8 %]</th>
252       <td>
253        <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 %]>
254        <label for="todo_cfg_show_overdue_sales_quotations">[% '...on the TODO list' | $T8 %]</label>
255       </td>
256       <td>
257        <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 %]>
258        <label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after loggin in' | $T8 %]</label>
259       </td>
260      </tr>
261      [%- END %]
262     </table>
263
264     <br style="clear: left" />
265    </div>
266   </div>
267
268   <p><input type="submit" class="submit" name="action" value="[% 'Save' | $T8 %]"></p>
269  </form>
270
271  <script type="text/javascript">
272   <!--
273       var maintab = new ddtabcontent("maintab");
274       maintab.setpersist(true);
275       maintab.setselectedClassTarget("link"); //"link" or "linkparent"
276       maintab.init();
277     -->
278  </script>
279
280 </body>
281 </html>