1 [% USE HTML %]<body class="admin">
3 <form method="post" action="admin.pl">
5 <div class="listtop" width="100%">[% title %]</div>
12 <th align="right"><translate>Login</translate></th>
13 <td><input name="login" value="[% HTML.escape(myc_login) %]"></td>
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) %]">
23 <th align="right"><translate>Name</translate></th>
24 <td><input name="name" size="15" value="[% HTML.escape(myc_name) %]"></td>
28 <th align="right"><translate>E-mail</translate></th>
29 <td><input name="email" size="30" value="[% HTML.escape(myc_email) %]"></td>
33 <th align="right"><translate>Signature</translate></th>
34 <td><textarea name="signature" rows="3" cols="35">[% HTML.escape(myc_signature) %]</textarea></td>
38 <th align="right"><translate>Phone</translate></th>
39 <td><input name="tel" size="14" value="[% HTML.escape(myc_tel) %]"></td>
43 <th align="right"><translate>Fax</translate></th>
44 <td><input name="fax" size="14" value="[% HTML.escape(myc_fax) %]"></td>
48 <th align="right"><translate>Company</translate></th>
49 <td><input name="company" size="35" value="[% HTML.escape(myc_company) %]"></td>
53 <th align="right"><translate>Address</translate></th>
54 <td><textarea name="address" rows="4" cols="35">[% HTML.escape(myc_address) %]</textarea></td>
58 <th align="right"><translate>Tax number</translate></th>
59 <td><input name="taxnumber" size="14" value="[% HTML.escape(myc_taxnumber) %]"></td>
63 <th align="right"><translate>Ust-IDNr</translate></th>
64 <td><input name="co_ustid" size="14" value="[% HTML.escape(myc_co_ustid) %]"></td>
68 <th align="right"><translate>DUNS-Nr</translate></th>
69 <td><input name="duns" size="14" value="[% HTML.escape(myc_duns) %]"></td>
77 <th align="right"><translate>Date Format</translate></th>
79 <select name="dateformat">
80 [% FOREACH row = ALL_DATEFORMATS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.format) %]</option>
87 <th align="right"><translate>Number Format</translate></th>
89 <select name="numberformat">
90 [% FOREACH row = ALL_NUMBERFORMATS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.format) %]</option>
97 <th align="right"><translate>Dropdown Limit</translate></th>
98 <td><input name="vclimit" value="[% HTML.escape(myc_vclimit) %]"></td>
102 <th align="right"><translate>Language</translate></th>
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>
112 <th align="right"><translate>Stylesheet</translate></th>
114 <select name="userstylesheet">
115 [% FOREACH row = ALL_STYLESHEETS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
122 <th align="right"><translate>Printer</translate></th>
123 <td><input name="printer" size="20" value="[% HTML.escape(myc_printer) %]"></td>
126 <th align="right"><translate>Use Templates</translate></th>
128 <select name="usetemplates">
129 [% FOREACH row = ALL_TEMPLATES %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
135 <th align="right"><translate>New Templates</translate></th>
136 <td><input name="newtemplates"></td>
139 <th align="right"><translate>Setup Templates</translate></th>
141 <select name="mastertemplates">
142 [% FOREACH row = ALL_MASTER_TEMPLATES %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>
148 <th align="right"><translate>Setup Menu</translate></th>
150 <input name="menustyle" type="radio" class="radio" value="v3" [% IF menustyle_v3 %]checked[% END %]> <translate>Top (CSS)</translate>
151 <input name="menustyle" type="radio" class="radio" value="neu" [% IF menustyle_neu %]checked[% END %]> <translate>Top (Javascript)</translate>
152 <input name="menustyle" type="radio" class="radio" value="old" [% IF menustyle_old %]checked[% END %]> <translate>Old (on the side)</translate>
156 <input type="hidden" name="templates" value="[% HTML.escape(myc_templates) %]">
161 <tr class="listheading">
162 <th colspan="2"><translate>Database</translate></th>
169 <th align="right"><translate>Driver</translate></th>
171 <th align="right"><translate>Host</translate></th>
172 <td><input name="dbhost" size="30" value="[% HTML.escape(myc_dbhost) %]"></td>
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>
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>
189 <input type="hidden" name="old_dbpasswd" value="[% HTML.escape(myc_dbpasswd) %]">
195 <td colspan="2"><hr size="2" noshade></td>
198 <tr class="listheading"><th colspan="2"><translate>Access Control</translate></th></tr>
200 [% FOREACH acl = ACLS %]
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>
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 %]
217 <input type="hidden" name="all_acs" value="[% HTML.escape(all_acs) %]">
219 <tr><td colspan="2"><hr size="3" noshade></td></tr>
221 <tr class="listheading">
222 <th colspan="2"><translate>WEBDAV access</translate></th>
229 <td><input name="angebote" class="checkbox" type="checkbox" value="1" [% IF myc_angebote %]checked[% END %]> Angebot</td>
230 <td><input name="bestellungen" class="checkbox" type="checkbox" value="1" [% IF myc_bestellungen %]checked[% END %]> Bestellung</td>
231 <td><input name="rechnungen" class="checkbox" type="checkbox" value="1" [% IF myc_rechnung %]checked[% END %]> Rechnung</td>
235 <td><input name="anfragen" class="checkbox" type="checkbox" value="1" [% IF myc_anfragen %]checked[% END %]> Anfragen</td>
236 <td><input name="lieferantenbestellungen" class="checkbox" type="checkbox" value="1" [% IF myc_lieferantenbestellungen %]checked[% END %]> Lieferantenbestellung</td>
237 <td><input name="einkaufsrechnungen" class="checkbox" type="checkbox" value="1" [% IF myc_einkaufsrechnungen %]checked[% END %]> Einkaufsrechnung</td>
243 <tr><td colspan="2"><hr size="3" noshade></td></tr>
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) %]">
250 <input type="submit" class="submit" name="action" value="<translate>Save</translate>">
253 <input type="submit" class="submit" name="action" value="<translate>Delete</translate>">
254 <input type="hidden" name="edit" value="1">