3 [% USE HTML %]<body onLoad="fokus()">
6 <div class="listtop">[% title %]</div>
9 <form method="post" action="am.pl" name="Form">
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>
18 <input type="hidden" name="type" value="preferences">
19 <input type="hidden" name="role" value="[% HTML.escape(myconfig_role) %]">
21 <div class="tabcontentstyle">
23 <div id="page_personal_settings" class="tabcontent">
27 <th align="right">[% 'Name' | $T8 %]</th>
28 <td><input name="name" size="15" value="[% HTML.escape(myconfig_name) %]"></td>
32 <th align="right">[% 'Password' | $T8 %]</th>
34 [%- IF CAN_CHANGE_PASSWORD %]
35 <input type="password" name="new_password" size="10" value="********">
37 <input type="hidden" name="new_password" value="********">
43 <th align="right">[% 'E-mail' | $T8 %]</th>
44 <td><input name="email" size="30" value="[% HTML.escape(myconfig_email) %]"></td>
48 <th align="right">[% 'Signature' | $T8 %]</th>
49 <td><textarea name="signature" rows="3" cols="50">[% HTML.escape(myconfig_signature) %]</textarea></td>
53 <th align="right">[% 'Phone' | $T8 %]</th>
54 <td><input name="tel" size="14" value="[% HTML.escape(myconfig_tel) %]"></td>
58 <th align="right">[% 'Fax' | $T8 %]</th>
59 <td><input name="fax" size="14" value="[% HTML.escape(myconfig_fax) %]"></td>
62 <th align="right">[% 'Company' | $T8 %]</th>
63 <td><input name="company" size="30" value="[% HTML.escape(myconfig_company) %]"></td>
66 <th align="right">[% 'Address' | $T8 %]</th>
67 <td><textarea name="address" rows="4" cols="50">[% HTML.escape(myconfig_address) %]</textarea></td>
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>
75 <br style="clear: left" />
78 <div id="page_display_options" class="tabcontent">
82 <th align="right">[% 'Date Format' | $T8 %]</th>
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>
92 <th align="right">[% 'Output Number Format' | $T8 %]</th>
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>
103 <th align="right">[% 'Dropdown Limit' | $T8 %]</th>
104 <td><input name="vclimit" size="10" value="[% HTML.escape(myconfig_vclimit) %]"></td>
108 <th align="right">[% 'Language' | $T8 %]</th>
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>
119 <th align="right">[% 'Stylesheet' | $T8 %]</th>
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>
130 <th align="right">[% 'Setup Menu' | $T8 %]</th>
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>
143 <th align="right">[% 'Favorites' | $T8 %]</th>
144 <td><textarea name="favorites" rows="4" cols="50">[% HTML.escape(myconfig_favorites) %]</textarea></td>
148 <th align="right">[% 'Form details (second row)' | $T8 %]</th>
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>
158 <th align="right">[% 'Show custom variable search inputs' | $T8 %]</th>
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>
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>
170 <br style="clear: left" />
173 <div id="page_print_options" class="tabcontent">
176 <input name="printer" type="hidden" value="[% HTML.escape(myconfig_printer) %]">
179 <th align="right">[% 'Default template format' | $T8 %]</th>
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>
190 <th align="right">[% 'Default output medium' | $T8 %]</th>
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>
201 <th align="right">[% 'Default printer' | $T8 %]</th>
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>
212 <th align="right">[% 'Number of copies' | $T8 %]</th>
213 <td><input name="copies" size="10" value="[% HTML.escape(myconfig_copies) %]"></td>
217 <br style="clear: left" />
220 <div id="page_todo_list_options" class="tabcontent">
224 <th align="right">[% 'Show your TODO list after loggin in' | $T8 %]</th>
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>
233 <tr class="listheading">
234 <th colspan="3">[% 'Configuration of individual TODO items' | $T8 %]</th>
238 <th align="right">[% 'Show follow ups...' | $T8 %]</th>
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>
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>
249 [%- IF AUTH_RIGHTS_SALES_QUOTATION_EDIT %]
251 <th align="right">[% 'Show overdue sales quotations and requests for quotations...' | $T8 %]</th>
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>
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>
264 <br style="clear: left" />
268 <p><input type="submit" class="submit" name="action" value="[% 'Save' | $T8 %]"></p>
271 <script type="text/javascript">
273 var maintab = new ddtabcontent("maintab");
274 maintab.setpersist(true);
275 maintab.setselectedClassTarget("link"); //"link" or "linkparent"