Report-Generator: SpaltenĂĽberschriften in HTML- und PDF-Ausgaben nicht erneut HTML...
[kivitendo-erp.git] / templates / webpages / dunning / set_email_de.html
1 [% USE HTML %]<body onload="[% onload %]">
2
3  <script type="text/javascript">
4   <!--
5       function email_updated() {
6         window.opener.document.getElementsByName(document.Form.input_subject.value)[0].value = document.getElementsByName("email_subject")[0].value;
7         window.opener.document.getElementsByName(document.Form.input_body.value)[0].value = document.getElementsByName("email_body")[0].value;
8         window.opener.document.getElementsByName(document.Form.input_attachment.value)[0].value = document.getElementsByName("email_attachment")[0].value;        self.close();
9       }
10     -->
11  </script>
12
13  <form name="Form">
14
15   <input type="hidden" name="input_subject" value="[% HTML.escape(input_subject) %]">
16   <input type="hidden" name="input_body" value="[% HTML.escape(input_body) %]">
17   <input type="hidden" name="input_attachment" value="[% HTML.escape(input_attachment) %]">
18
19   <div class="listtop" width="100%">[% title %]</div>
20
21   <table width="100%">
22    <tr>
23     <td valign="top">Betreff:</td>
24     <td valign="top"><input id="email_subject" name="email_subject" size="40" value="[% HTML.escape(email_subject) %]"></td>
25    </tr>
26
27    <tr>
28     <td valign="top">Text:</td>
29     <td valign="top"><textarea id="email_body" name="email_body" rows="20" cols="70" wrap="soft">[% HTML.escape(email_body) %]</textarea></td>
30    </tr>
31
32    <tr>
33     <td valign="top">PDF anhängen</td>
34     <td valign="top"><input id="email_attachment" type="checkbox" name="email_attachment" value="1" [% IF email_attachment %]checked[% END %]></td>
35    </tr>
36   </table>
37
38   <button type="button" onclick="email_updated()">Speichern und schlie&szlig;en</button>
39
40  </form>
41 </body>
42 </html>