Revision 7b40b8d5
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/dunning/set_email.html | ||
---|---|---|
3 | 3 |
|
4 | 4 |
<h1>[% title %]</h1> |
5 | 5 |
|
6 |
<script type="text/javascript"> |
|
7 |
<!-- |
|
8 |
function email_updated() { |
|
9 |
window.opener.document.getElementsByName(document.Form.input_subject.value)[0].value = document.getElementsByName("email_subject")[0].value; |
|
10 |
window.opener.document.getElementsByName(document.Form.input_body.value)[0].value = document.getElementsByName("email_body")[0].value; |
|
11 |
window.opener.document.getElementsByName(document.Form.input_attachment.value)[0].value = document.getElementsByName("email_attachment")[0].value; self.close(); |
|
12 |
} |
|
13 |
--> |
|
14 |
</script> |
|
15 |
|
|
16 |
<form name="Form"> |
|
17 |
|
|
18 |
<input type="hidden" name="input_subject" value="[% HTML.escape(input_subject) %]"> |
|
19 |
<input type="hidden" name="input_body" value="[% HTML.escape(input_body) %]"> |
|
20 |
<input type="hidden" name="input_attachment" value="[% HTML.escape(input_attachment) %]"> |
|
21 |
|
|
22 |
<table width="100%"> |
|
23 |
<tr> |
|
24 |
<td valign="top">[% 'Subject:' | $T8 %]</td> |
|
25 |
<td valign="top"><input id="email_subject" name="email_subject" size="40" value="[% HTML.escape(email_subject) %]"></td> |
|
26 |
</tr> |
|
27 |
|
|
28 |
<tr> |
|
29 |
<td valign="top">[% 'Body:' | $T8 %]</td> |
|
30 |
<td valign="top"><textarea id="email_body" name="email_body" rows="20" cols="70" wrap="soft">[% HTML.escape(email_body) %]</textarea></td> |
|
31 |
</tr> |
|
32 |
|
|
33 |
<tr> |
|
34 |
<td valign="top">[% 'Attach PDF:' | $T8 %]</td> |
|
35 |
<td valign="top"><input id="email_attachment" type="checkbox" name="email_attachment" value="1" [% IF email_attachment %]checked[% END %]></td> |
|
36 |
</tr> |
|
37 |
</table> |
|
38 |
|
|
39 |
<button type="button" onclick="email_updated()">[% 'Save and close' | $T8 %]</button> |
|
40 |
|
|
41 |
</form> |
|
6 |
<script type="text/javascript"><!-- |
|
7 |
function email_updated() { |
|
8 |
window.opener.document.getElementsByName(document.Form.input_subject.value)[0].value = document.getElementsByName("email_subject")[0].value; |
|
9 |
window.opener.document.getElementsByName(document.Form.input_body.value)[0].value = document.getElementsByName("email_body")[0].value; |
|
10 |
window.opener.document.getElementsByName(document.Form.input_attachment.value)[0].value = document.getElementsByName("email_attachment")[0].value; self.close(); |
|
11 |
} |
|
12 |
--></script> |
|
13 |
|
|
14 |
<form name="Form"> |
|
15 |
|
|
16 |
<input type="hidden" name="input_subject" value="[% HTML.escape(input_subject) %]"> |
|
17 |
<input type="hidden" name="input_body" value="[% HTML.escape(input_body) %]"> |
|
18 |
<input type="hidden" name="input_attachment" value="[% HTML.escape(input_attachment) %]"> |
|
19 |
|
|
20 |
<table class="tbl-horizontal"> |
|
21 |
<tbody> |
|
22 |
<tr> |
|
23 |
<th>[% 'Subject:' | $T8 %]</th> |
|
24 |
<td><input type="text" id="email_subject" name="email_subject" size="40" value="[% HTML.escape(email_subject) %]"></td> |
|
25 |
</tr> |
|
26 |
<tr> |
|
27 |
<th>[% 'Body:' | $T8 %]</th> |
|
28 |
<td><textarea id="email_body" name="email_body" rows="20" cols="70" wrap="soft">[% HTML.escape(email_body) %]</textarea> |
|
29 |
</td> |
|
30 |
</tr> |
|
31 |
<tr> |
|
32 |
<th>[% 'Attach PDF:' | $T8 %]</th> |
|
33 |
<td><input id="email_attachment" type="checkbox" name="email_attachment" value="1" [% if email_attachment %checked[% end %]></td> |
|
34 |
</tr> |
|
35 |
</tbody> |
|
36 |
</table> |
|
37 |
|
|
38 |
|
|
39 |
<button type="button" onclick="email_updated()">[% 'Save and close' | $T8 %]</button> |
|
40 |
|
|
41 |
</form> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/dunning/set_email.html