Changeset 389 for trunk/expressoMail1_2/js/main.js
- Timestamp:
- 08/14/08 11:15:07 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/main.js
r352 r389 509 509 data.date_hour = Element('date_hour_' + border_ID).value; 510 510 } 511 511 var signature = preferences.type_signature == 'html' ? preferences.signature : preferences.signature.replace(/\n/g, "<br>"); 512 512 switch(type){ 513 513 case "reply_without_history": … … 519 519 // Insert the signature automaticaly at message body if use_signature preference is set 520 520 if (preferences.use_signature == "1"){ 521 body.contentWindow.document.write("<html><body bgcolor='#FFFFFF'>" + "<br>" + preferences.signature.replace(/\n/g, "<br>")+ "</body></html>");521 body.contentWindow.document.write("<html><body bgcolor='#FFFFFF'>" + "<br>" + signature + "</body></html>"); 522 522 } 523 523 else{ … … 548 548 // Insert the signature automaticaly at message body if use_signature preference is set 549 549 if (preferences.use_signature == "1") { 550 body.contentWindow.document.write("<html><body bgcolor='#FFFFFF'>" + "<br>" + preferences.signature.replace(/\n/g, "<br>")+ "</body></html>" + block_quoted_body + "</body></html>");550 body.contentWindow.document.write("<html><body bgcolor='#FFFFFF'>" + "<br>" + signature + "</body></html>" + block_quoted_body + "</body></html>"); 551 551 } 552 552 else { … … 593 593 // Insert the signature automaticaly at message body if use_signature preference is set 594 594 if (preferences.use_signature == "1") { 595 body.contentWindow.document.write("<html><body bgcolor='#FFFFFF'>" + "<br>" + preferences.signature.replace(/\n/g, "<br>")+ "</body></html>");595 body.contentWindow.document.write("<html><body bgcolor='#FFFFFF'>" + "<br>" + signature + "</body></html>"); 596 596 } 597 597 else { … … 638 638 // Insert the signature automaticaly at message body if use_signature preference is set 639 639 if (preferences.use_signature == "1") { 640 body.contentWindow.document.write("<html><body bgcolor='#FFFFFF'>" + "<br>" + preferences.signature.replace(/\n/g, "<br>")+ "</body></html>" + block_quoted_body + "</body></html>");640 body.contentWindow.document.write("<html><body bgcolor='#FFFFFF'>" + "<br>" + signature + "</body></html>" + block_quoted_body + "</body></html>"); 641 641 } 642 642 else { … … 686 686 // Insert the signature automaticaly at message body if use_signature preference is set 687 687 if (preferences.use_signature == "1") { 688 body.contentWindow.document.write("<html><body bgcolor='#FFFFFF'>" + "<br>" + preferences.signature.replace(/\n/g, "<br>")+ "</body></html>" + make_forward_body(data.body, data.to, data.date, data.subject, data.to_all, data.cc) + "</body></html>");688 body.contentWindow.document.write("<html><body bgcolor='#FFFFFF'>" + "<br>" + signature + "</body></html>" + make_forward_body(data.body, data.to, data.date, data.subject, data.to_all, data.cc) + "</body></html>"); 689 689 } 690 690 else { … … 719 719 // Insert the signature automaticaly at message body if use_signature preference is set 720 720 if (preferences.use_signature == "1") { 721 body.contentWindow.document.write("<html><body bgcolor='#FFFFFF'>" + "<br>" + preferences.signature.replace(/\n/g, "<br>")+ "</body></html>");721 body.contentWindow.document.write("<html><body bgcolor='#FFFFFF'>" + "<br>" + signature + "</body></html>"); 722 722 } 723 723 else {
Note: See TracChangeset
for help on using the changeset viewer.