2 [% USE HTML %]<body onload="[% onload %]">
4 <script type="text/javascript">
6 function email_updated() {
7 window.opener.document.getElementsByName(document.Form.input_subject.value)[0].value = document.getElementsByName("email_subject")[0].value;
8 window.opener.document.getElementsByName(document.Form.input_body.value)[0].value = document.getElementsByName("email_body")[0].value;
9 window.opener.document.getElementsByName(document.Form.input_attachment.value)[0].value = document.getElementsByName("email_attachment")[0].value; self.close();
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) %]">
20 <div class="listtop" width="100%">[% title %]</div>
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>
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>
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>
39 <button type="button" onclick="email_updated()">[% 'Save and close' | $T8 %]</button>