Report-Generator: Spaltenüberschriften in HTML- und PDF-Ausgaben nicht erneut HTML...
[kivitendo-erp.git] / templates / webpages / admin / edit_user_master.html
1 [% USE HTML %]<body class="admin">
2
3  <form method="post" action="admin.pl">
4
5   <div class="listtop" width="100%">[% title %]</div>
6
7   <table width="100%">
8    <tr valign="top">
9     <td>
10      <table>
11       <tr>
12        <th align="right"><translate>Login</translate></th>
13        <td><input name="login" value="[% HTML.escape(myc_login) %]"></td>
14       </tr>
15
16       <tr>
17        <th align="right"><translate>Password</translate></th>
18        <td><input type="password" name="password" size="8" value="[% HTML.escape(myc_password) %]"></td>
19        <input type="hidden" name="old_password" value="[% HTML.escape(myc_password) %]">
20       </tr>
21
22       <tr>
23        <th align="right"><translate>Name</translate></th>
24        <td><input name="name" size="15" value="[% HTML.escape(myc_name) %]"></td>
25       </tr>
26
27       <tr>
28        <th align="right"><translate>E-mail</translate></th>
29        <td><input name="email" size="30" value="[% HTML.escape(myc_email) %]"></td>
30       </tr>
31
32       <tr valign="top">
33        <th align="right"><translate>Signature</translate></th>
34        <td><textarea name="signature" rows="3" cols="35">[% HTML.escape(myc_signature) %]</textarea></td>
35       </tr>
36
37       <tr>
38        <th align="right"><translate>Phone</translate></th>
39        <td><input name="tel" size="14" value="[% HTML.escape(myc_tel) %]"></td>
40       </tr>
41
42       <tr>
43        <th align="right"><translate>Fax</translate></th>
44        <td><input name="fax" size="14" value="[% HTML.escape(myc_fax) %]"></td>
45       </tr>
46
47       <tr>
48        <th align="right"><translate>Company</translate></th>
49        <td><input name="company" size="35" value="[% HTML.escape(myc_company) %]"></td>
50       </tr>
51
52       <tr valign="top">
53        <th align="right"><translate>Address</translate></th>
54        <td><textarea name="address" rows="4" cols="35">[% HTML.escape(myc_address) %]</textarea></td>
55       </tr>
56
57       <tr valign="top">
58        <th align="right"><translate>Tax number</translate></th>
59        <td><input name="taxnumber" size="14" value="[% HTML.escape(myc_taxnumber) %]"></td>
60       </tr>
61
62       <tr valign="top">
63        <th align="right"><translate>Ust-IDNr</translate></th>
64        <td><input name="co_ustid" size="14" value="[% HTML.escape(myc_co_ustid) %]"></td>
65       </tr>
66
67       <tr valign="top">
68        <th align="right"><translate>DUNS-Nr</translate></th>
69        <td><input name="duns" size="14" value="[% HTML.escape(myc_duns) %]"></td>
70       </tr>
71      </table>
72     </td>
73
74     <td>
75      <table>
76       <tr>
77        <th align="right"><translate>Date Format</translate></th>
78        <td>
79         <select name="dateformat">
80          [% FOREACH row = ALL_DATEFORMATS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.format) %]</option>
81          [% END %]
82         </select>
83        </td>
84       </tr>
85
86       <tr>
87        <th align="right"><translate>Number Format</translate></th>
88        <td>
89         <select name="numberformat">
90          [% FOREACH row = ALL_NUMBERFORMATS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.format) %]</option>
91          [% END %]
92         </select>
93        </td>
94       </tr>
95
96       <tr>
97        <th align="right"><translate>Dropdown Limit</translate></th>
98        <td><input name="vclimit" value="[% HTML.escape(myc_vclimit) %]"></td>
99       </tr>
100
101       <tr>
102        <th align="right"><translate>Language</translate></th>
103        <td>
104         <select name="countrycode">
105          [% FOREACH row = ALL_COUNTRYCODES %]<option value="[% HTML.escape(row.value) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
106          [% END %]
107         </select>
108        </td>
109       </tr>
110
111       <tr>
112        <th align="right"><translate>Stylesheet</translate></th>
113        <td>
114         <select name="userstylesheet">
115          [% FOREACH row = ALL_STYLESHEETS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
116          [% END %]
117         </select>
118        </td>
119       </tr>
120
121       <tr>
122        <th align="right"><translate>Printer</translate></th>
123        <td><input name="printer" size="20" value="[% HTML.escape(myc_printer) %]"></td>
124       </tr>
125       <tr>
126        <th align="right"><translate>Use Templates</translate></th>
127        <td>
128         <select name="usetemplates">
129          [% FOREACH row = ALL_TEMPLATES %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
130          [% END %]
131         </select>
132        </td>
133       </tr>
134       <tr>
135        <th align="right"><translate>New Templates</translate></th>
136        <td><input name="newtemplates"></td>
137       </tr>
138       <tr>
139        <th align="right"><translate>Setup Templates</translate></th>
140        <td>
141         <select name="mastertemplates">
142          [% FOREACH row = ALL_MASTER_TEMPLATES %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
143          [% END %]
144         </select>
145        </td>
146       </tr>
147       <tr>
148        <th align="right"><translate>Setup Menu</translate></th>
149        <td>
150         <input name="menustyle" type="radio" class="radio" value="v3" [% IF menustyle_v3 %]checked[% END %]>&nbsp;<translate>Top (CSS)</translate>
151         <input name="menustyle" type="radio" class="radio" value="neu" [% IF menustyle_neu %]checked[% END %]>&nbsp;<translate>Top (Javascript)</translate>
152         <input name="menustyle" type="radio" class="radio" value="old" [% IF menustyle_old %]checked[% END %]>&nbsp;<translate>Old (on the side)</translate>
153        </td>
154       </tr>
155
156       <input type="hidden" name="templates" value="[% HTML.escape(myc_templates) %]">
157      </table>
158     </td>
159    </tr>
160
161    <tr class="listheading">
162     <th colspan="2"><translate>Database</translate></th>
163    </tr>
164
165    <tr>
166     <td colspan="2">
167      <table>
168       <tr>
169        <th align="right"><translate>Driver</translate></th>
170        <td>PostgreSQL</td>
171        <th align="right"><translate>Host</translate></th>
172        <td><input name="dbhost" size="30" value="[% HTML.escape(myc_dbhost) %]"></td>
173       </tr>
174
175       <tr>
176        <th align="right"><translate>Dataset</translate></th>
177        <td><input name="dbname" size="15" value="[% HTML.escape(myc_dbname) %]"></td>
178        <th align="right"><translate>Port</translate></th>
179        <td><input name="dbport" size="4" value="[% HTML.escape(myc_dbport) %]"></td>
180       </tr>
181
182       <tr>
183        <th align="right"><translate>User</translate></th>
184        <td><input name="dbuser" size="15" value="[% HTML.escape(myc_dbuser) %]"></td>
185        <th align="right"><translate>Password</translate></th>
186        <td><input name="dbpasswd" type="password" size="10" value="[% HTML.escape(myc_dbpasswd) %]"></td>
187       </tr>
188
189       <input type="hidden" name="old_dbpasswd" value="[% HTML.escape(myc_dbpasswd) %]">
190      </table>
191     </td>
192    </tr>
193
194    <tr>
195     <td colspan="2"><hr size="2" noshade></td>
196    </tr>
197
198    <tr class="listheading"><th colspan="2"><translate>Access Control</translate></th></tr>
199
200    [% FOREACH acl = ACLS %]
201     <tr>
202      <td valign="top">
203       <input type="checkbox" name="ACS_[% HTML.escape(acl.name) %]" id="ACS_[% HTML.escape(acl.name) %]" value="1" [% IF acl.checked %]checked[% END %]>
204       <label for="ACS_[% HTML.escape(acl.name) %]">[% HTML.escape(acl.title) %]</label>
205      </td>
206
207      <td valign="top">
208       [% USE SUBACLS_it = Iterator(acl.SUBACLS) %][% FOREACH subacl = SUBACLS_it %]
209        <input type="checkbox" name="ACS_[% HTML.escape(subacl.name) %]" id="ACS_[% HTML.escape(subacl.name) %]" value="1" [% IF subacl.checked %]checked[% END %]>
210        <label for="ACS_[% HTML.escape(subacl.name) %]">[% HTML.escape(subacl.title) %]</label>
211        [% UNLESS SUBACLS_it.last %]<br>[% END %]
212       [% END %]
213      </td>
214     </tr>
215    [% END %]
216
217    <input type="hidden" name="all_acs" value="[% HTML.escape(all_acs) %]">
218
219    <tr><td colspan="2"><hr size="3" noshade></td></tr>
220
221    <tr class="listheading">
222     <th colspan="2"><translate>WEBDAV access</translate></th>
223    </tr>
224
225    <tr>
226     <td colspan="2">
227      <table>
228       <tr>
229        <td><input name="angebote" class="checkbox" type="checkbox" value="1" [% IF myc_angebote %]checked[% END %]>&nbsp;Angebot</td>
230        <td><input name="bestellungen" class="checkbox" type="checkbox" value="1" [% IF myc_bestellungen %]checked[% END %]>&nbsp;Bestellung</td>
231        <td><input name="rechnungen" class="checkbox" type="checkbox" value="1" [% IF myc_rechnung %]checked[% END %]>&nbsp;Rechnung</td>
232       </tr>
233
234       <tr>
235        <td><input name="anfragen" class="checkbox" type="checkbox" value="1" [% IF myc_anfragen %]checked[% END %]>&nbsp;Anfragen</td>
236        <td><input name="lieferantenbestellungen" class="checkbox" type="checkbox" value="1" [% IF myc_lieferantenbestellungen %]checked[% END %]>&nbsp;Lieferantenbestellung</td>
237        <td><input name="einkaufsrechnungen" class="checkbox" type="checkbox" value="1" [% IF myc_einkaufsrechnungen %]checked[% END %]>&nbsp;Einkaufsrechnung</td>
238       </tr>
239      </table>
240     </td>
241    </tr>
242
243    <tr><td colspan="2"><hr size="3" noshade></td></tr>
244
245   </table>
246
247   <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=[% HTML.url(rpw) %]">
248   <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
249
250   <input type="submit" class="submit" name="action" value="<translate>Save</translate>">
251
252   [% IF edit %]
253    <input type="submit" class="submit" name="action" value="<translate>Delete</translate>">
254    <input type="hidden" name="edit" value="1">
255   [% END %]
256
257  </form>
258
259 </body>
260 </html>