Templates werden nicht mehr übersetzt gespeichert.
[kivitendo-erp.git] / templates / webpages / admin / restore_dataset_master.html
1 [%- USE T8 %]
2 [% USE HTML %]<body class="admin" onload="document.getElementsByName('dbname')[0].focus(); ">
3
4  <h2>[% title %]</h2>
5
6  <form name="Form" method="post" action="admin.pl" enctype="multipart/form-data">
7
8   <input type="hidden" name="dbdriver" value="Pg">
9   <input type="hidden" name="dbhost" value="[% HTML.escape(dbhost) %]">
10   <input type="hidden" name="dbport" value="[% HTML.escape(dbport) %]">
11   <input type="hidden" name="dbuser" value="[% HTML.escape(dbuser) %]">
12   <input type="hidden" name="dbpasswd" value="[% HTML.escape(dbpasswd) %]">
13
14   <p>
15    [% 'Please enter the name of the dataset you want to restore the backup in.' | $T8 %]
16    [% 'The dataset has to exist before a restoration can be started.' | $T8 %]
17    [% 'You can create a missing dataset by going back and chosing &quot;Create Dataset&quot;.' | $T8 %]
18   </p>
19
20   <p>
21    [%- 'The backup you upload here has to be a file created with &quot;pg_dump -o -Ft&quot;.' | $T8 %]
22    [%- 'It may optionally be compressed with &quot;gzip&quot;.' | $T8 %]
23    [%- 'Files created by Lx-Office\'s &quot;Backup Dataset&quot; function are such files.' | $T8 %]
24   </p>
25
26   <table>
27    <tr>
28     <td valign="top">[% 'Dataset name' | $T8 %]</td>
29     <td valign="top"><input name="new_dbname"></td>
30    </tr>
31
32    <tr>
33     <th valign="top">[% 'Multibyte Encoding' | $T8 %]</th>
34     <td>
35      <select name="dbencoding">
36       [% FOREACH row = DBENCODINGS %]<option value="[% HTML.escape(row.dbencoding) %]" [% IF row.selected %]selected[% END %]>[% HTML.escape(row.label) %]</option>[% END %]
37      </select>
38     </td>
39    </tr>
40
41    <tr>
42     <td valign="top">[% 'Backup file' | $T8 %]</td>
43     <td valign="top"><input type="file" accept="*" name="content"></td>
44    </tr>
45   </table>
46
47   <input type="hidden" name="nextsub" value="restore_dataset_start">
48
49   <hr size="3" noshade>
50
51   <br>
52
53   <input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]">
54
55  </form>
56
57 </body>
58 </html>