2 [% USE HTML %]<body class="admin">
 
   6   <form method="post" action="admin.pl">
 
   7    <p><a href="admin.pl?action=pg_database_administration">[% 'Back' | $T8 %]</a></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 %]
 
  15      <th valign="top" align="right" nowrap>[% 'Existing Datasets' | $T8 %]</th>
 
  16      <td valign="top">[% HTML.escape(dbsources) %]</td>
 
  20      <th align="right" nowrap>[% 'Create Dataset' | $T8 %]</th>
 
  21      <td><input name="db"></td>
 
  25      <th align="right" nowrap>[% 'Multibyte Encoding' | $T8 %]</th>
 
  27       [%- IF FORCE_DBENCODING %]
 
  28       <input type="hidden" name="encoding" value="[% HTML.escape(FORCE_DBENCODING) %]">
 
  29       [% HTML.escape(FORCE_DBENCODING) %]
 
  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 %]
 
  39      <th valign="top" align="right" nowrap>[% 'Create Chart of Accounts' | $T8 %]</th>
 
  41       <select name="chart" onChange="comment_selected_chart(this.value)">
 
  42        [% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
 
  48      <th valign="top" align="right" nowrap>[% 'Accounting method' | $T8 %] *</th>
 
  50       <select name="accounting_method">
 
  51        [% FOREACH row = ACCOUNTING_METHODS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
 
  56      <th valign="top" align="right" nowrap>[% 'Inventory system' | $T8 %] *</th>
 
  58       <select name="inventory_system">
 
  59        [% FOREACH row = INVENTORY_SYSTEMS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
 
  61      [% '* there are restrictions for the perpetual method, look at chapter "Bemerkungen zu Bestandsmethode"  in' | $T8 %] <a href="doc/Lx-Office-Dokumentation.pdf">Lx-Office-Dokumentation.pdf</a>.
 
  67      <th valign="top" align="right" nowrap>[% 'Profit determination' | $T8 %] *</th>
 
  69       <select name="profit_determination">
 
  70        [% FOREACH row = PROFIT_DETERMINATIONS %]<option value=[% HTML.escape(row.name) %] [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) | $T8 %]</option>[% END %]
 
  76     [% '*) Since version 2.7 these parameters ares set in the client database and not in the lx-erp.conf / lx_office.conf file, details in chapter:' | $T8 %] <a href="doc/Lx-Office-Dokumentation.pdf">Kapitel Konfiguration zur Einnahmenüberschussrechnung/ Bilanzierung: EUR</a>
 
  81    <input type="hidden" name="dbdriver"  value="[% HTML.escape(dbdriver) %]">
 
  82    <input type="hidden" name="dbuser"    value="[% HTML.escape(dbuser) %]">
 
  83    <input type="hidden" name="dbhost"    value="[% HTML.escape(dbhost) %]">
 
  84    <input type="hidden" name="dbport"    value="[% HTML.escape(dbport) %]">
 
  85    <input type="hidden" name="dbpasswd"  value="[% HTML.escape(dbpasswd) %]">
 
  86    <input type="hidden" name="dbdefault" value="[% HTML.escape(dbdefault) %]">
 
  88    <input type="hidden" name="callback" value="admin.pl?action=list_users">
 
  90    <input type="hidden" name="nextsub" value="dbcreate">
 
  94    <p><input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]"></p>
 
  98   <script type="text/javascript">
 
 101     function comment_selected_chart(s) {
 
 102       if (s == 'Austria') {
 
 103         alert("SKR07 Austria ist noch Stand 2002." +
 
 105               "Die Buchungsgruppen sind nicht korrekt vorkonfiguriert" +
 
 107               "fuer Kunden im Ausland." +
 
 109               "Hinweis vom 20.09.2011");
 
 111       if (s == 'Swiss-German') {
 
 112         alert("Hinweis: Das ist weder ein Schweizer Kontorahmen nach Kaefer noch ein " +
 
 113               "Schweizer KMU-Kontenrahmen, sondern ein angelehnter KMU-Kontenrahmen fuer " +
 
 114               "ein EDV-Dienstleistungsunternehmen mit Stand 2006 (Bspw. 32001 Hardware, " +
 
 115               "statt 3200 Warenertrag)." +
 
 117               "Ferner sind keine Buchungsgruppe vorkonfiguriert, somit wird " +
 
 118               "standardmaessig keine Rechnung mit Steuer ausgewiesen." +
 
 120               "Zum schnellen Testen und Zusammenhaenge verstehen waehlen Sie lieber einen " +
 
 121               "deutschen Kontenrahmen aus (SKR03 oder SKR04) und passen die Steuer an." +
 
 123               "Hinweis vom 21.09.2011");