+[%- USE T8 %]
[% USE HTML %]<body class="admin">
<h2>[% title %]</h2>
<form method="post" action="admin.pl">
+ <p>
+ [% 'You can either create a new database or chose an existing database.' | $T8 %]
+ [% 'In the latter case the tables needed by Lx-Office will be created in that database.' | $T8 %]
+ </p>
+
<table>
<tr>
- <th valign="top" align="right" nowrap>existierende Datenbanken</th>
+ <th valign="top" align="right" nowrap>[% 'Existing Datasets' | $T8 %]</th>
<td valign="top">[% HTML.escape(dbsources) %]</td>
</tr>
<tr>
- <th align="right" nowrap>Datenbank anlegen</th>
+ <th align="right" nowrap>[% 'Create Dataset' | $T8 %]</th>
<td><input name="db"></td>
</tr>
<tr>
- <th align="right" nowrap>Schriftsatz</th>
+ <th align="right" nowrap>[% 'Multibyte Encoding' | $T8 %]</th>
<td>
+ [%- IF FORCE_DBENCODING %]
+ <input type="hidden" name="encoding" value="[% HTML.escape(FORCE_DBENCODING) %]">
+ [% HTML.escape(FORCE_DBENCODING) %]
+ [%- ELSE %]
<select name="encoding">
[% FOREACH row = DBENCODINGS %]<option value="[% HTML.escape(row.dbencoding) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.label) %]</option>[% END %]
</select>
+ [%- END %]
</td>
</tr>
<tr>
- <th valign="top" align="right" nowrap>Kontenplan anlegen</th>
+ <th valign="top" align="right" nowrap>[% 'Create Chart of Accounts' | $T8 %]</th>
<td>
<select name="chart">
[% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
<input type="hidden" name="dbpasswd" value="[% HTML.escape(dbpasswd) %]">
<input type="hidden" name="dbdefault" value="[% HTML.escape(dbdefault) %]">
- <input type="hidden" name="callback" value="admin.pl?action=list_users&rpw=[% HTML.url(rpw) %]">
- <input type="hidden" name="rpw" value="[% HTML.escape(rpw) %]">
+ <input type="hidden" name="callback" value="admin.pl?action=list_users">
<input type="hidden" name="nextsub" value="dbcreate">
<hr size="3" noshade>
- <p><input type="submit" class="submit" name="action" value="Weiter"></p>
+ <p><input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]"></p>
</form>