5   <form method="post" action="admin.pl">
 
   6    <p><a href="admin.pl?action=pg_database_administration">[% 'Back' | $T8 %]</a></p>
 
   8     [% 'You can either create a new database or chose an existing database.' | $T8 %]
 
   9     [% 'In the latter case the tables needed by kivitendo will be created in that database.' | $T8 %]
 
  14      <th valign="top" align="right" nowrap>[% 'Existing Datasets' | $T8 %]</th>
 
  15      <td valign="top">[% HTML.escape(dbsources) %]</td>
 
  19      <th align="right" nowrap>[% 'Create Dataset' | $T8 %]</th>
 
  20      <td><input name="db"></td>
 
  24      <th align="right" nowrap>[% 'Multibyte Encoding' | $T8 %]</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' | $T8 %]</th>
 
  40       <select name="chart" onChange="comment_selected_chart(this.value)">
 
  41        [% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
 
  47      <th valign="top" align="right" nowrap>[% 'Accounting method' | $T8 %] *</th>
 
  49       <select name="accounting_method">
 
  50        [% FOREACH row = ACCOUNTING_METHODS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
 
  55      <th valign="top" align="right" nowrap>[% 'Inventory system' | $T8 %] *</th>
 
  57       <select name="inventory_system">
 
  58        [% FOREACH row = INVENTORY_SYSTEMS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
 
  60      [% '* there are restrictions for the perpetual method, look at chapter "Bemerkungen zu Bestandsmethode"  in' | $T8 %] <a href="doc/kivitendo-Dokumentation.pdf">kivitendo-Dokumentation.pdf</a>.
 
  66      <th valign="top" align="right" nowrap>[% 'Profit determination' | $T8 %] *</th>
 
  68       <select name="profit_determination">
 
  69        [% FOREACH row = PROFIT_DETERMINATIONS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
 
  75     [% '*) Since version 2.7 these parameters ares set in the client database and not in the configuration file, details in chapter:' | $T8 %] <a href="doc/kivitendo-Dokumentation.pdf">Kapitel Konfiguration zur Einnahmenüberschussrechnung/ Bilanzierung: EUR</a>
 
  80    <input type="hidden" name="dbdriver"  value="[% HTML.escape(dbdriver) %]">
 
  81    <input type="hidden" name="dbuser"    value="[% HTML.escape(dbuser) %]">
 
  82    <input type="hidden" name="dbhost"    value="[% HTML.escape(dbhost) %]">
 
  83    <input type="hidden" name="dbport"    value="[% HTML.escape(dbport) %]">
 
  84    <input type="hidden" name="dbpasswd"  value="[% HTML.escape(dbpasswd) %]">
 
  85    <input type="hidden" name="dbdefault" value="[% HTML.escape(dbdefault) %]">
 
  87    <input type="hidden" name="callback" value="admin.pl?action=list_users">
 
  89    <input type="hidden" name="nextsub" value="dbcreate">
 
  93    <p><input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]"></p>
 
  97   <script type="text/javascript">
 
 100     function comment_selected_chart(s) {
 
 101       if (s == 'Austria') {
 
 102         alert("SKR07 Austria ist noch Stand 2002." +
 
 104               "Die Buchungsgruppen sind nicht korrekt vorkonfiguriert" +
 
 106               "fuer Kunden im Ausland." +
 
 108               "Hinweis vom 20.09.2011");
 
 110       if (s == 'Swiss-German') {
 
 111         alert("Hinweis: Das ist weder ein Schweizer Kontorahmen nach Kaefer noch ein " +
 
 112               "Schweizer KMU-Kontenrahmen, sondern ein angelehnter KMU-Kontenrahmen fuer " +
 
 113               "ein EDV-Dienstleistungsunternehmen mit Stand 2006 (Bspw. 32001 Hardware, " +
 
 114               "statt 3200 Warenertrag)." +
 
 116               "Ferner sind keine Buchungsgruppe vorkonfiguriert, somit wird " +
 
 117               "standardmaessig keine Rechnung mit Steuer ausgewiesen." +
 
 119               "Zum schnellen Testen und Zusammenhaenge verstehen waehlen Sie lieber einen " +
 
 120               "deutschen Kontenrahmen aus (SKR03 oder SKR04) und passen die Steuer an." +
 
 122               "Hinweis vom 21.09.2011");