2 [% USE HTML %]<body onLoad="fokus()">
5 <div class="listtop">[% title %]</div>
8 <form method="post" action="am.pl" name="Form">
10 <ul id="maintab" class="shadetabs">
11 <li class="selected"><a href="#" rel="page_personal_settings">[% 'Personal settings' | $T8 %]</a></li>
12 <li><a href="#" rel="page_display_options">[% 'Display options' | $T8 %]</a></li>
13 <li><a href="#" rel="page_print_options">[% 'Print options' | $T8 %]</a></li>
14 <li><a href="#" rel="page_todo_list_options">[% 'TODO list options' | $T8 %]</a></li>
17 <input type="hidden" name="type" value="preferences">
18 <input type="hidden" name="role" value="[% HTML.escape(myconfig_role) %]">
20 <div class="tabcontentstyle">
22 <div id="page_personal_settings" class="tabcontent">
26 <th align="right">[% 'Name' | $T8 %]</th>
27 <td><input name="name" size="15" value="[% HTML.escape(myconfig_name) %]"></td>
31 <th align="right">[% 'Password' | $T8 %]</th>
33 [%- IF CAN_CHANGE_PASSWORD %]
34 <input type="password" name="new_password" size="10" value="********">
36 <input type="hidden" name="new_password" value="********">
42 <th align="right">[% 'E-mail' | $T8 %]</th>
43 <td><input name="email" size="30" value="[% HTML.escape(myconfig_email) %]"></td>
47 <th align="right">[% 'Signature' | $T8 %]</th>
48 <td><textarea name="signature" rows="3" cols="50">[% HTML.escape(myconfig_signature) %]</textarea></td>
52 <th align="right">[% 'Phone' | $T8 %]</th>
53 <td><input name="tel" size="14" value="[% HTML.escape(myconfig_tel) %]"></td>
57 <th align="right">[% 'Fax' | $T8 %]</th>
58 <td><input name="fax" size="14" value="[% HTML.escape(myconfig_fax) %]"></td>
61 <th align="right">[% 'Company' | $T8 %]</th>
62 <td><input name="company" size="30" value="[% HTML.escape(myconfig_company) %]"></td>
65 <th align="right">[% 'Address' | $T8 %]</th>
66 <td><textarea name="address" rows="4" cols="50">[% HTML.escape(myconfig_address) %]</textarea></td>
70 <br style="clear: left" />
73 <div id="page_display_options" class="tabcontent">
77 <th align="right">[% 'Date Format' | $T8 %]</th>
79 <select name="dateformat">
80 [%- FOREACH row = DATEFORMATS %]
81 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
87 <th align="right">[% 'Output Number Format' | $T8 %]</th>
89 <select name="numberformat">
90 [%- FOREACH row = NUMBERFORMATS %]
91 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
98 <th align="right">[% 'Dropdown Limit' | $T8 %]</th>
99 <td><input name="vclimit" size="10" value="[% HTML.escape(myconfig_vclimit) %]"></td>
103 <th align="right">[% 'Language' | $T8 %]</th>
105 <select name="countrycode">
106 [%- FOREACH row = COUNTRYCODES %]
107 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
114 <th align="right">[% 'Stylesheet' | $T8 %]</th>
116 <select name="usestylesheet">
117 [%- FOREACH row = STYLESHEETS %]
118 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
125 <th align="right">[% 'Setup Menu' | $T8 %]</th>
127 <select name="menustyle">
128 <option value="old"[% IF myconfig_menustyle == 'old' %] selected[% END %]>[% 'Old (on the side)' | $T8 %]</option>
129 <option value="v3"[% IF myconfig_menustyle == 'v3' %] selected[% END %]>[% 'Top (CSS)' | $T8 %]</option>
130 <option value="v4"[% IF myconfig_menustyle == 'v4' %] selected[% END %]>[% 'Top (CSS) new' | $T8 %]</option>
131 <option value="neu"[% IF myconfig_menustyle == 'neu' %] selected[% END %]>[% 'Top (Javascript)' | $T8 %]</option>
132 <option value="xml"[% IF myconfig_menustyle == 'xml' %] selected[% END %]>[% 'Top (XUL; only for Mozilla Firefox)' | $T8 %]</option>
138 <th align="right">[% 'Favorites' | $T8 %]</th>
139 <td><textarea name="favorites" rows="4" cols="50">[% HTML.escape(myconfig_favorites) %]</textarea></td>
143 <th align="right">[% 'Form details (second row)' | $T8 %]</th>
145 <select name="show_form_details">
146 <option value="1"[% IF myconfig_show_form_details %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
147 <option value="0"[% IF !myconfig_show_form_details %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
153 <th align="right">[% 'Show custom variable search inputs' | $T8 %]</th>
155 <select name="hide_cvar_search_options">
156 <option value="0"[% IF !myconfig_hide_cvar_search_options %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
157 <option value="1"[% IF myconfig_hide_cvar_search_options %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
163 <br style="clear: left" />
166 <div id="page_print_options" class="tabcontent">
169 <input name="printer" type="hidden" value="[% HTML.escape(myconfig_printer) %]">
172 <th align="right">[% 'Default template format' | $T8 %]</th>
174 <select name="template_format">
175 [%- FOREACH row = TEMPLATE_FORMATS %]
176 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
183 <th align="right">[% 'Default output medium' | $T8 %]</th>
185 <select name="default_media">
186 [%- FOREACH row = MEDIA %]
187 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
194 <th align="right">[% 'Default printer' | $T8 %]</th>
196 <select name="default_printer_id">
197 [%- FOREACH row = PRINTERS %]
198 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
205 <th align="right">[% 'Number of copies' | $T8 %]</th>
206 <td><input name="copies" size="10" value="[% HTML.escape(myconfig_copies) %]"></td>
210 <br style="clear: left" />
213 <div id="page_todo_list_options" class="tabcontent">
217 <th align="right">[% 'Show your TODO list after loggin in' | $T8 %]</th>
219 <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 %]>
220 <label for="todo_cfg_show_after_login_1">[% 'Yes' | $T8 %]</label>
221 <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 %]>
222 <label for="todo_cfg_show_after_login_0">[% 'No' | $T8 %]</label>
226 <tr class="listheading">
227 <th colspan="3">[% 'Configuration of individual TODO items' | $T8 %]</th>
231 <th align="right">[% 'Show follow ups...' | $T8 %]</th>
233 <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 %]>
234 <label for="todo_cfg_show_follow_ups">[% '...on the TODO list' | $T8 %]</label>
237 <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 %]>
238 <label for="todo_cfg_show_follow_ups_login">[% '...after loggin in' | $T8 %]</label>
242 [%- IF AUTH_RIGHTS_SALES_QUOTATION_EDIT %]
244 <th align="right">[% 'Show overdue sales quotations and requests for quotations...' | $T8 %]</th>
246 <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 %]>
247 <label for="todo_cfg_show_overdue_sales_quotations">[% '...on the TODO list' | $T8 %]</label>
250 <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 %]>
251 <label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after loggin in' | $T8 %]</label>
257 <br style="clear: left" />
261 <p><input type="submit" class="submit" name="action" value="[% 'Save' | $T8 %]"></p>
264 <script type="text/javascript">
266 var maintab = new ddtabcontent("maintab");
267 maintab.setpersist(true);
268 maintab.setselectedClassTarget("link"); //"link" or "linkparent"