Globale Variablen $::userspath, $::templates, $::membersfile nach %::lx_office_conf...
[kivitendo-erp.git] / js / dunning.js
1 function set_email_window(input_subject, input_body, input_attachment) {
2   var parm = centerParms(800,600) + ",width=800,height=600,status=yes,scrollbars=yes";
3   var url = "dn.pl?" +
4     "INPUT_ENCODING=UTF-8&" +
5     "action=set_email&" +
6     "email_subject=" + encodeURIComponent(document.getElementsByName(input_subject)[0].value) + "&" +
7     "email_body=" + encodeURIComponent(document.getElementsByName(input_body)[0].value) + "&" +
8     "email_attachment=" + encodeURIComponent(document.getElementsByName(input_attachment)[0].value) + "&" +
9     "input_subject=" + encodeURIComponent(input_subject)  + "&" +
10     "input_body=" + encodeURIComponent(input_body)  + "&" +
11     "input_attachment=" + encodeURIComponent(input_attachment);
12   window.open(url, "_new_generic", parm);
13 }