1 [% USE HTML %]<body class="admin">
5 <form method="post" action="admin.pl">
8 <translate>You can either create a new database or chose an
9 existing database.</translate>
10 <translate>In the latter case the tables needed by Lx-Office will
11 be created in that database.</translate>
16 <th valign="top" align="right" nowrap><translate>Existing Datasets</translate></th>
17 <td valign="top">[% HTML.escape(dbsources) %]</td>
21 <th align="right" nowrap><translate>Create Dataset</translate></th>
22 <td><input name="db"></td>
26 <th align="right" nowrap><translate>Multibyte Encoding</translate></th>
28 <select name="encoding">
29 [% FOREACH row = DBENCODINGS %]<option value="[% HTML.escape(row.dbencoding) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.label) %]</option>[% END %]
35 <th valign="top" align="right" nowrap><translate>Create Chart of Accounts</translate></th>
38 [% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
45 <input type="hidden" name="dbdriver" value="[% HTML.escape(dbdriver) %]">
46 <input type="hidden" name="dbuser" value="[% HTML.escape(dbuser) %]">
47 <input type="hidden" name="dbhost" value="[% HTML.escape(dbhost) %]">
48 <input type="hidden" name="dbport" value="[% HTML.escape(dbport) %]">
49 <input type="hidden" name="dbpasswd" value="[% HTML.escape(dbpasswd) %]">
50 <input type="hidden" name="dbdefault" value="[% HTML.escape(dbdefault) %]">
52 <input type="hidden" name="callback" value="admin.pl?action=list_users">
54 <input type="hidden" name="nextsub" value="dbcreate">
58 <p><input type="submit" class="submit" name="action" value="<translate>Continue</translate>"></p>