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