3 [%- USE HTML %][%- USE L %]
4 <body onLoad="fokus()">
7 <div class="listtop">[% title %]</div>
10 <form method="post" action="am.pl" name="Form">
12 <ul id="maintab" class="shadetabs">
13 <li class="selected"><a href="#" rel="page_personal_settings">[% 'Personal settings' | $T8 %]</a></li>
14 <li><a href="#" rel="page_display_options">[% 'Display options' | $T8 %]</a></li>
15 <li><a href="#" rel="page_print_options">[% 'Print options' | $T8 %]</a></li>
16 <li><a href="#" rel="page_todo_list_options">[% 'TODO list options' | $T8 %]</a></li>
19 <input type="hidden" name="type" value="preferences">
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 <th align="right"q>[% 'taxincluded checked' | $T8 %]</th>
77 [% L.yes_no_tag('taxincluded_checked', myconfig_taxincluded_checked) %]
83 <br style="clear: left" />
86 <div id="page_display_options" class="tabcontent">
90 <th align="right">[% 'Date Format' | $T8 %]</th>
92 [% L.select_tag('dateformat', DATEFORMATS, value_key = 'value', title_key = 'name') %]
96 <th align="right">[% 'Output Number Format' | $T8 %]</th>
98 [% L.select_tag('numberformat', NUMBERFORMATS, value_key = 'value', title_key = 'name') %]
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 [% L.select_tag('countrycode', COUNTRYCODES, value_key = 'value', title_key = 'name') %]
115 <th align="right">[% 'Stylesheet' | $T8 %]</th>
117 [% L.select_tag('usestylesheet', STYLESHEETS, value_key = 'value', title_key = 'name') %]
122 <th align="right">[% 'Setup Menu' | $T8 %]</th>
124 <select name="menustyle">
125 <option value="old"[% IF myconfig_menustyle == 'old' %] selected[% END %]>[% 'Old (on the side)' | $T8 %]</option>
126 <option value="v3"[% IF myconfig_menustyle == 'v3' %] selected[% END %]>[% 'Top (CSS)' | $T8 %]</option>
127 <option value="v4"[% IF myconfig_menustyle == 'v4' %] selected[% END %]>[% 'Top (CSS) new' | $T8 %]</option>
128 <option value="neu"[% IF myconfig_menustyle == 'neu' %] selected[% END %]>[% 'Top (Javascript)' | $T8 %]</option>
134 <th align="right">[% 'Form details (second row)' | $T8 %]</th>
136 <select name="show_form_details">
137 <option value="1"[% IF myconfig_show_form_details %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
138 <option value="0"[% IF !myconfig_show_form_details %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
144 <th align="right">[% 'Show custom variable search inputs' | $T8 %]</th>
146 <select name="hide_cvar_search_options">
147 <option value="0"[% IF !myconfig_hide_cvar_search_options %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
148 <option value="1"[% IF myconfig_hide_cvar_search_options %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
154 <br style="clear: left" />
157 <div id="page_print_options" class="tabcontent">
160 <input name="printer" type="hidden" value="[% HTML.escape(myconfig_printer) %]">
163 <th align="right">[% 'Default template format' | $T8 %]</th>
165 [% L.select_tag('template_format', TEMPLATE_FORMATS, value_key = 'value', title_key = 'name') %]
170 <th align="right">[% 'Default output medium' | $T8 %]</th>
172 [% L.select_tag('default_media', MEDIA, value_key = 'value', title_key = 'name') %]
177 <th align="right">[% 'Default printer' | $T8 %]</th>
179 [% L.select_tag('default_printer_id', PRINTERS, default = myconfig_default_printer_id, title_key = 'printer_description', with_empty = 1) %]
184 <th align="right">[% 'Number of copies' | $T8 %]</th>
185 <td><input name="copies" size="10" value="[% HTML.escape(myconfig_copies) %]"></td>
189 <br style="clear: left" />
192 <div id="page_todo_list_options" class="tabcontent">
196 <th align="right">[% 'Show your TODO list after loggin in' | $T8 %]</th>
198 <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 %]>
199 <label for="todo_cfg_show_after_login_1">[% 'Yes' | $T8 %]</label>
200 <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 %]>
201 <label for="todo_cfg_show_after_login_0">[% 'No' | $T8 %]</label>
205 <tr class="listheading">
206 <th colspan="3">[% 'Configuration of individual TODO items' | $T8 %]</th>
210 <th align="right">[% 'Show follow ups...' | $T8 %]</th>
212 <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 %]>
213 <label for="todo_cfg_show_follow_ups">[% '...on the TODO list' | $T8 %]</label>
216 <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 %]>
217 <label for="todo_cfg_show_follow_ups_login">[% '...after loggin in' | $T8 %]</label>
221 [%- IF AUTH_RIGHTS_SALES_QUOTATION_EDIT %]
223 <th align="right">[% 'Show overdue sales quotations and requests for quotations...' | $T8 %]</th>
225 <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 %]>
226 <label for="todo_cfg_show_overdue_sales_quotations">[% '...on the TODO list' | $T8 %]</label>
229 <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 %]>
230 <label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after loggin in' | $T8 %]</label>
236 <br style="clear: left" />
240 <p><input type="submit" class="submit" name="action" value="[% 'Save' | $T8 %]"></p>
243 <script type="text/javascript">
245 var maintab = new ddtabcontent("maintab");
246 maintab.setpersist(true);
247 maintab.setselectedClassTarget("link"); //"link" or "linkparent"