Admin Passwort muss mit uebergeben werden.
[kivitendo-erp.git] / templates / webpages / admin / backup_dataset_master.html
1 <body class="admin" onload="set_subject(); document.getElementsByName('to')[0].focus(); ">
2
3  <script type="text/javascript">
4   <!--
5       function set_subject() {
6         var subject_template = "<translate>Backup of dataset</translate>";
7         var subject = document.Form.subject.value;
8
9         if ((subject == "") || (subject.substr(0, subject_template.length) == subject_template)) {
10           document.Form.subject.value = subject_template + " " + document.Form.dbname.value;
11         }
12       }
13     -->
14  </script>
15
16  <h2><TMPL_VAR title></h2>
17
18  <TMPL_IF NO_DATABSES>
19   <translate>No databases have been found on this server.</translate>
20
21   <TMPL_ELSE>
22
23   <form name="Form" method="post" action="admin.pl">
24
25    <input type="hidden" name="dbdriver" value="Pg">
26    <input type="hidden" name="dbhost" value="<TMPL_VAR dbhost ESCAPE=HTML>">
27    <input type="hidden" name="dbport" value="<TMPL_VAR dbport ESCAPE=HTML>">
28    <input type="hidden" name="dbuser" value="<TMPL_VAR dbuser ESCAPE=HTML>">
29    <input type="hidden" name="dbpasswd" value="<TMPL_VAR dbpasswd ESCAPE=HTML>">
30
31    <p>
32     <translate>Please select the database you want to backup</translate>:
33     <select name="dbname" onchange="set_subject()"><TMPL_LOOP DATABASES><option><TMPL_VAR dbname ESCAPE=HTML></option></TMPL_LOOP></select>
34    </p>
35
36    <table>
37     <tr>
38      <td valign="top"><input type="radio" name="destination" id="destination_download" value="download" checked></td>
39      <td valign="top"><label for="destination_download"><translate>Download the backup</translate></label></td>
40     </tr>
41
42     <tr>
43      <td valign="top"><input type="radio" name="destination" id="destination_email" value="email"></td>
44      <td valign="top">
45       <label for="destination_email"><translate>Send the backup via Email</translate></label><br>
46
47       <table>
48        <tr>
49         <td valign="top" align="right"><translate>From</translate></td>
50         <td valign="top"><input name="from" size="40" value="<TMPL_VAR from ESCAPE=HTML>"></td>
51        </tr>
52
53        <tr>
54         <td valign="top" align="right"><translate>To</translate></td>
55         <td valign="top"><input name="to" size="40"></td>
56        </tr>
57
58        <tr>
59         <td valign="top" align="right"><translate>Cc</translate></td>
60         <td valign="top"><input name="cc" size="40"></td>
61        </tr>
62
63        <tr>
64         <td valign="top" align="right"><translate>Subject</translate></td>
65         <td valign="top"><input name="subject" size="40"></td>
66        </tr>
67
68        <tr>
69         <td valign="top" align="right"><translate>Message</translate></td>
70         <td valign="top"><textarea name="message" cols="40" rows="10"></textarea></td>
71        </tr>
72
73       </table>
74
75      </td>
76     </tr>
77
78    </table>
79
80    <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=<TMPL_VAR rpw ESCAPE=URL>">
81    <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
82    <input type="hidden" name="nextsub" value="backup_dataset_start">
83
84    <hr size="3" noshade>
85
86    <br>
87
88    <input type="submit" class="submit" name="action" value="<translate>Continue</translate>">
89
90   </form>
91
92  </TMPL_IF>
93
94 </body>
95 </html>