1 [% USE HTML %]<body class="admin">
5 <form method="post" action="admin.pl">
8 You can either create a new database or chose an existing database.
9 In the latter case the tables needed by Lx-Office will be created in that database.
14 <th valign="top" align="right" nowrap>Existing Datasets</th>
15 <td valign="top">[% HTML.escape(dbsources) %]</td>
19 <th align="right" nowrap>Create Dataset</th>
20 <td><input name="db"></td>
24 <th align="right" nowrap>Multibyte Encoding</th>
26 [%- IF FORCE_DBENCODING %]
27 <input type="hidden" name="encoding" value="[% HTML.escape(FORCE_DBENCODING) %]">
28 [% HTML.escape(FORCE_DBENCODING) %]
30 <select name="encoding">
31 [% FOREACH row = DBENCODINGS %]<option value="[% HTML.escape(row.dbencoding) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.label) %]</option>[% END %]
38 <th valign="top" align="right" nowrap>Create Chart of Accounts</th>
41 [% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
48 <input type="hidden" name="dbdriver" value="[% HTML.escape(dbdriver) %]">
49 <input type="hidden" name="dbuser" value="[% HTML.escape(dbuser) %]">
50 <input type="hidden" name="dbhost" value="[% HTML.escape(dbhost) %]">
51 <input type="hidden" name="dbport" value="[% HTML.escape(dbport) %]">
52 <input type="hidden" name="dbpasswd" value="[% HTML.escape(dbpasswd) %]">
53 <input type="hidden" name="dbdefault" value="[% HTML.escape(dbdefault) %]">
55 <input type="hidden" name="callback" value="admin.pl?action=list_users">
57 <input type="hidden" name="nextsub" value="dbcreate">
61 <p><input type="submit" class="submit" name="action" value="Continue"></p>