]> wagnertech.de Git - kivitendo-erp.git/blobdiff - templates/webpages/admin/create_dataset_en.html
locales.pl von nach locale/en kopiert und dort ausgeführt.
[kivitendo-erp.git] / templates / webpages / admin / create_dataset_en.html
diff --git a/templates/webpages/admin/create_dataset_en.html b/templates/webpages/admin/create_dataset_en.html
new file mode 100644 (file)
index 0000000..e213dd6
--- /dev/null
@@ -0,0 +1,66 @@
+[% 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.
+    In the latter case the tables needed by Lx-Office will be created in that database.
+   </p>
+
+   <table>
+    <tr>
+     <th valign="top" align="right" nowrap>Existing Datasets</th>
+     <td valign="top">[% HTML.escape(dbsources) %]</td>
+    </tr>
+
+    <tr>
+     <th align="right" nowrap>Create Dataset</th>
+     <td><input name="db"></td>
+    </tr>
+
+    <tr>
+     <th align="right" nowrap>Multibyte Encoding</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>Create Chart of Accounts</th>
+     <td>
+      <select name="chart">
+       [% FOREACH row = CHARTS %]<option [% IF row.selected %]selected[% END %]>[% HTML.escape(row.name) %]</option>[% END %]
+      </select>
+     </td>
+    </tr>
+
+   </table>
+
+   <input type="hidden" name="dbdriver"  value="[% HTML.escape(dbdriver) %]">
+   <input type="hidden" name="dbuser"    value="[% HTML.escape(dbuser) %]">
+   <input type="hidden" name="dbhost"    value="[% HTML.escape(dbhost) %]">
+   <input type="hidden" name="dbport"    value="[% HTML.escape(dbport) %]">
+   <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">
+
+   <input type="hidden" name="nextsub" value="dbcreate">
+
+   <hr size="3" noshade>
+
+   <p><input type="submit" class="submit" name="action" value="Continue"></p>
+
+  </form>
+
+</body>
+</html>