Changeset 4783
- Timestamp:
- 07/18/11 12:20:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/main.js
r4779 r4783 2255 2255 var body = Element('body_'+border_ID); 2256 2256 2257 2258 var att = ''; 2259 2260 var countAtt = 0; 2261 2262 if(attachments !== null) 2263 { 2264 countAtt = attachments.getElementsByTagName('a').length; 2265 if(countAtt === 1) 2266 att = attachments.getElementsByTagName('a')[0].innerHTML; 2267 else if(countAtt > 1) 2268 for (var i = 1; i <attachments.getElementsByTagName('a').length; i++) 2269 att += attachments.getElementsByTagName('a')[i].innerHTML + " | "; 2270 } 2271 2272 var body = Element('body_'+border_ID); 2273 2257 2274 if(!is_ie) 2258 2275 { … … 2327 2344 if(date) 2328 2345 html += "<tr><td width=7%><font size='2'>" + get_lang('Date') + ": </font></td><td><font size='2'>"+date.innerHTML+"</font></td></tr>"; 2346 2329 2347 html += "<tr><td width=7%><font size='2'>" + get_lang('Subject')+ ": </font></td><td><font size='2'>"+subject.innerHTML+"</font></td></tr>"; 2330 html += show_attachs; //to show the names of the attachments 2348 //html += show_attachs; //to show the names of the attachments 2349 if (countAtt > 0) { 2350 html += "<tr><td width=7%><font size='2'>" + get_lang('Attachments: ') + "</font></td><td><font size='2'>"+att+"</font></td></tr>"; 2351 } 2331 2352 html += "</tbody></table><hr>"; 2332 2353 window_print.document.write(html + body.innerHTML);
Note: See TracChangeset
for help on using the changeset viewer.