]> wagnertech.de Git - kivitendo-erp.git/blobdiff - templates/webpages/admin/restore_dataset_en.html
locales.pl von nach locale/en kopiert und dort ausgeführt.
[kivitendo-erp.git] / templates / webpages / admin / restore_dataset_en.html
diff --git a/templates/webpages/admin/restore_dataset_en.html b/templates/webpages/admin/restore_dataset_en.html
new file mode 100644 (file)
index 0000000..cd02e73
--- /dev/null
@@ -0,0 +1,57 @@
+[% USE HTML %]<body class="admin" onload="document.getElementsByName('dbname')[0].focus(); ">
+
+ <h2>[% title %]</h2>
+
+ <form name="Form" method="post" action="admin.pl" enctype="multipart/form-data">
+
+  <input type="hidden" name="dbdriver" value="Pg">
+  <input type="hidden" name="dbhost" value="[% HTML.escape(dbhost) %]">
+  <input type="hidden" name="dbport" value="[% HTML.escape(dbport) %]">
+  <input type="hidden" name="dbuser" value="[% HTML.escape(dbuser) %]">
+  <input type="hidden" name="dbpasswd" value="[% HTML.escape(dbpasswd) %]">
+
+  <p>
+   Please enter the name of the dataset you want to restore the backup in.
+   The dataset has to exist before a restoration can be started.
+   You can create a missing dataset by going back and chosing &quot;Create Dataset&quot;.
+  </p>
+
+  <p>
+   The backup you upload here has to be a file created with &quot;pg_dump -o -Ft&quot;.
+   It may optionally be compressed with &quot;gzip&quot;.
+   Files created by Lx-Office's &quot;Backup Dataset&quot; function are such files.
+  </p>
+
+  <table>
+   <tr>
+    <td valign="top">Dataset name</td>
+    <td valign="top"><input name="new_dbname"></td>
+   </tr>
+
+   <tr>
+    <th valign="top">Multibyte Encoding</th>
+    <td>
+     <select name="dbencoding">
+      [% FOREACH row = DBENCODINGS %]<option value="[% HTML.escape(row.dbencoding) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.label) %]</option>[% END %]
+     </select>
+    </td>
+   </tr>
+
+   <tr>
+    <td valign="top">Backup file</td>
+    <td valign="top"><input type="file" accept="*" name="content"></td>
+   </tr>
+  </table>
+
+  <input type="hidden" name="nextsub" value="restore_dataset_start">
+
+  <hr size="3" noshade>
+
+  <br>
+
+  <input type="submit" class="submit" name="action" value="Continue">
+
+ </form>
+
+</body>
+</html>