Das XUL-/XML-MenĂ¼ entfernen
[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        </select>
137       </td>
138      </tr>
139
140      <tr>
141       <th align="right">[% 'Form details (second row)' | $T8 %]</th>
142       <td>
143        <select name="show_form_details">
144         <option value="1"[% IF  myconfig_show_form_details %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
145         <option value="0"[% IF !myconfig_show_form_details %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
146        </select>
147       </td>
148      </tr>
149
150      <tr>
151       <th align="right">[% 'Show custom variable search inputs' | $T8 %]</th>
152       <td>
153        <select name="hide_cvar_search_options">
154         <option value="0"[% IF !myconfig_hide_cvar_search_options %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
155         <option value="1"[% IF  myconfig_hide_cvar_search_options %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
156        </select>
157       </td>
158      </tr>
159     </table>
160
161     <br style="clear: left" />
162    </div>
163
164    <div id="page_print_options" class="tabcontent">
165
166     <table>
167      <input name="printer" type="hidden" value="[% HTML.escape(myconfig_printer) %]">
168
169      <tr>
170       <th align="right">[% 'Default template format' | $T8 %]</th>
171       <td>
172        <select name="template_format">
173         [%- FOREACH row = TEMPLATE_FORMATS %]
174         <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
175         [%- END %]
176        </select>
177       </td>
178      </tr>
179
180      <tr>
181       <th align="right">[% 'Default output medium' | $T8 %]</th>
182       <td>
183        <select name="default_media">
184         [%- FOREACH row = MEDIA %]
185         <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
186         [%- END %]
187        </select>
188       </td>
189      </tr>
190
191      <tr>
192       <th align="right">[% 'Default printer' | $T8 %]</th>
193       <td>
194        [% L.select_tag('default_printer_id', L.options_for_select(PRINTERS, default => myconfig_default_printer_id, title => 'printer_description', with_empty => 1)) %]
195       </td>
196      </tr>
197
198      <tr>
199       <th align="right">[% 'Number of copies' | $T8 %]</th>
200       <td><input name="copies" size="10" value="[% HTML.escape(myconfig_copies) %]"></td>
201      </tr>
202     </table>
203
204     <br style="clear: left" />
205    </div>
206
207    <div id="page_todo_list_options" class="tabcontent">
208
209     <table>
210      <tr>
211       <th align="right">[% 'Show your TODO list after loggin in' | $T8 %]</th>
212       <td colspan="2">
213        <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 %]>
214        <label for="todo_cfg_show_after_login_1">[% 'Yes' | $T8 %]</label>
215        <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 %]>
216        <label for="todo_cfg_show_after_login_0">[% 'No' | $T8 %]</label>
217       </td>
218      </tr>
219
220      <tr class="listheading">
221       <th colspan="3">[% 'Configuration of individual TODO items' | $T8 %]</th>
222      </tr>
223
224      <tr>
225       <th align="right">[% 'Show follow ups...' | $T8 %]</th>
226       <td>
227        <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 %]>
228        <label for="todo_cfg_show_follow_ups">[% '...on the TODO list' | $T8 %]</label>
229       </td>
230       <td>
231        <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 %]>
232        <label for="todo_cfg_show_follow_ups_login">[% '...after loggin in' | $T8 %]</label>
233       </td>
234      </tr>
235
236      [%- IF AUTH_RIGHTS_SALES_QUOTATION_EDIT %]
237      <tr>
238       <th align="right">[% 'Show overdue sales quotations and requests for quotations...' | $T8 %]</th>
239       <td>
240        <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 %]>
241        <label for="todo_cfg_show_overdue_sales_quotations">[% '...on the TODO list' | $T8 %]</label>
242       </td>
243       <td>
244        <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 %]>
245        <label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after loggin in' | $T8 %]</label>
246       </td>
247      </tr>
248      [%- END %]
249     </table>
250
251     <br style="clear: left" />
252    </div>
253   </div>
254
255   <p><input type="submit" class="submit" name="action" value="[% 'Save' | $T8 %]"></p>
256  </form>
257
258  <script type="text/javascript">
259   <!--
260       var maintab = new ddtabcontent("maintab");
261       maintab.setpersist(true);
262       maintab.setselectedClassTarget("link"); //"link" or "linkparent"
263       maintab.init();
264     -->
265  </script>
266
267 </body>
268 </html>