Templates werden nicht mehr explizit übersetzt: *_master in * umbenannt
[kivitendo-erp.git] / templates / webpages / admin / create_dataset.html
1 [%- USE T8 %]
2 [% USE HTML %]<body class="admin">
3
4   <h2>[% title %]</h2>
5
6   <form method="post" action="admin.pl">
7
8    <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 %]
11    </p>
12
13    <table>
14     <tr>
15      <th valign="top" align="right" nowrap>[% 'Existing Datasets' | $T8 %]</th>
16      <td valign="top">[% HTML.escape(dbsources) %]</td>
17     </tr>
18
19     <tr>
20      <th align="right" nowrap>[% 'Create Dataset' | $T8 %]</th>
21      <td><input name="db"></td>
22     </tr>
23
24     <tr>
25      <th align="right" nowrap>[% 'Multibyte Encoding' | $T8 %]</th>
26      <td>
27       [%- IF FORCE_DBENCODING %]
28       <input type="hidden" name="encoding" value="[% HTML.escape(FORCE_DBENCODING) %]">
29       [% HTML.escape(FORCE_DBENCODING) %]
30       [%- ELSE %]
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 %]
33       </select>
34       [%- END %]
35      </td>
36     </tr>
37
38     <tr>
39      <th valign="top" align="right" nowrap>[% 'Create Chart of Accounts' | $T8 %]</th>
40      <td>
41       <select name="chart">
42        [% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
43       </select>
44      </td>
45     </tr>
46
47    </table>
48
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) %]">
55
56    <input type="hidden" name="callback" value="admin.pl?action=list_users">
57
58    <input type="hidden" name="nextsub" value="dbcreate">
59
60    <hr size="3" noshade>
61
62    <p><input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]"></p>
63
64   </form>
65
66 </body>
67 </html>