Update des DHTML-Tab-Scripts auf Version 2.2.
[kivitendo-erp.git] / templates / webpages / admin / create_dataset_master.html
1 [% USE HTML %]<body class="admin">
2
3   <h2>[% title %]</h2>
4
5   <form method="post" action="admin.pl">
6
7    <p>
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>
12    </p>
13
14    <table>
15     <tr>
16      <th valign="top" align="right" nowrap><translate>Existing Datasets</translate></th>
17      <td valign="top">[% HTML.escape(dbsources) %]</td>
18     </tr>
19
20     <tr>
21      <th align="right" nowrap><translate>Create Dataset</translate></th>
22      <td><input name="db"></td>
23     </tr>
24
25     <tr>
26      <th align="right" nowrap><translate>Multibyte Encoding</translate></th>
27      <td>
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 %]
30       </select>
31      </td>
32     </tr>
33
34     <tr>
35      <th valign="top" align="right" nowrap><translate>Create Chart of Accounts</translate></th>
36      <td>
37       <select name="chart">
38        [% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
39       </select>
40      </td>
41     </tr>
42
43    </table>
44
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) %]">
51
52    <input type="hidden" name="callback" value="admin.pl?action=list_users">
53
54    <input type="hidden" name="nextsub" value="dbcreate">
55
56    <hr size="3" noshade>
57
58    <p><input type="submit" class="submit" name="action" value="<translate>Continue</translate>"></p>
59
60   </form>
61
62 </body>
63 </html>