Changeset 1754
- Timestamp:
- 12/04/09 15:42:31 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/main.js
r1722 r1754 2078 2078 return; 2079 2079 } 2080 2081 //needed to get the names of the attachments... only. 2082 if(attachments != null) 2083 { 2084 var a = attachments.childNodes; 2085 var attachs = ""; 2086 var show_attachs = ""; 2087 for(i=0;i<a.length;i++) 2088 { 2089 if(a[i].tagName && a[i].tagName == "A") 2090 { 2091 attachs += a[i].innerHTML; 2092 } 2093 } 2094 show_attachs = "<tr><td width=7%><font size='2'>" + get_lang('Attachments: ')+ " </font></td><td><font size='2'>"+attachs+"</font></td></tr>"; 2095 } else{ 2096 show_attachs = ""; 2097 } 2080 2098 2081 2099 while (1){ … … 2102 2120 html += "<tr><td width=7%><font size='2'>" + get_lang('Date') + ": </font></td><td><font size='2'>"+date.innerHTML+"</font></td></tr>"; 2103 2121 html += "<tr><td width=7%><font size='2'>" + get_lang('Subject')+ ": </font></td><td><font size='2'>"+subject.innerHTML+"</font></td></tr>"; 2122 html += show_attachs; //to show the names of the attachments 2104 2123 html += "</tbody></table><hr>"; 2105 2124 window_print.document.body.innerHTML = html + '<blockquote><font size="2">' + body.innerHTML + '</font></blockquote>';
Note: See TracChangeset
for help on using the changeset viewer.