2 [% USE HTML %]<body class="admin">
6 <form method="post" action="admin.pl">
7 <p><input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]"></p>
9 [% 'You can either create a new database or chose an existing database.' | $T8 %]
10 [% 'In the latter case the tables needed by Lx-Office will be created in that database.' | $T8 %]
15 <th valign="top" align="right" nowrap>[% 'Existing Datasets' | $T8 %]</th>
16 <td valign="top">[% HTML.escape(dbsources) %]</td>
20 <th align="right" nowrap>[% 'Create Dataset' | $T8 %]</th>
21 <td><input name="db"></td>
25 <th align="right" nowrap>[% 'Multibyte Encoding' | $T8 %]</th>
27 [%- IF FORCE_DBENCODING %]
28 <input type="hidden" name="encoding" value="[% HTML.escape(FORCE_DBENCODING) %]">
29 [% HTML.escape(FORCE_DBENCODING) %]
31 <select name="encoding">
32 [% FOREACH row = DBENCODINGS %]<option value="[% HTML.escape(row.dbencoding) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.label) %]</option>[% END %]
39 <th valign="top" align="right" nowrap>[% 'Create Chart of Accounts' | $T8 %]</th>
42 [% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
49 <input type="hidden" name="dbdriver" value="[% HTML.escape(dbdriver) %]">
50 <input type="hidden" name="dbuser" value="[% HTML.escape(dbuser) %]">
51 <input type="hidden" name="dbhost" value="[% HTML.escape(dbhost) %]">
52 <input type="hidden" name="dbport" value="[% HTML.escape(dbport) %]">
53 <input type="hidden" name="dbpasswd" value="[% HTML.escape(dbpasswd) %]">
54 <input type="hidden" name="dbdefault" value="[% HTML.escape(dbdefault) %]">
56 <input type="hidden" name="callback" value="admin.pl?action=list_users">
58 <input type="hidden" name="nextsub" value="dbcreate">
62 <p><input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]"></p>