Changeset 1808 in subversion
- Timestamp:
- Sep 16, 2008 2:55:04 PM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/steps/mail/compose.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r1807 r1808 8 8 - Allow and use spellcheck attribute for input/textarea fields (#1485060) 9 9 - Added icons for forwarded/forwarded+replied messages (#1485257) 10 - Added Reply-To to forwarded emails (#1485315) 10 11 11 12 2008/09/15 (thomasb) -
trunk/roundcubemail/program/steps/mail/compose.inc
r1806 r1808 544 544 if (!$bodyIsHtml) 545 545 { 546 $prefix = sprintf("\n\n\n-------- Original Message --------\nSubject: %s\nDate: %s\nFrom: %s\nTo: %s\n\n", 547 $MESSAGE->subject, 548 $MESSAGE->headers->date, 549 $MESSAGE->get_header('from'), 550 $MESSAGE->get_header('to')); 546 $prefix = "\n\n\n-------- Original Message --------\n"; 547 $prefix .= 'Subject: ' . $MESSAGE->subject . "\n"; 548 $prefix .= 'Date: ' . $MESSAGE->headers->date . "\n"; 549 $prefix .= 'From: ' . $MESSAGE->get_header('from') . "\n"; 550 $prefix .= 'To: ' . $MESSAGE->get_header('to') . "\n"; 551 if ($MESSAGE->headers->replyto && $MESSAGE->headers->replyto != $MESSAGE->headers->from) 552 $prefix .= 'Reply-To: ' . $MESSAGE->get_header('replyto') . "\n"; 553 $prefix .= "\n"; 551 554 } 552 555 else … … 558 561 "<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">Date: </th><td>%s</td></tr>" . 559 562 "<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">From: </th><td>%s</td></tr>" . 560 "<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">To: </th><td>%s</td></tr>" . 561 "</tbody></table><br>", 563 "<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">To: </th><td>%s</td></tr>", 562 564 Q($MESSAGE->subject), 563 565 Q($MESSAGE->headers->date), 564 566 htmlspecialchars(Q($MESSAGE->get_header('from'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset(), true), 565 htmlspecialchars(Q($MESSAGE->get_header('to'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset(), true)); 567 htmlspecialchars(Q($MESSAGE->get_header('to'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset(), true)); 568 569 if ($MESSAGE->headers->replyto && $MESSAGE->headers->replyto != $MESSAGE->headers->from) 570 $prefix .= sprintf("<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">Reply-To: </th><td>%s</td></tr>", 571 htmlspecialchars(Q($MESSAGE->get_header('replyto'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset(), true)); 572 573 $prefix .= "</tbody></table><br>"; 566 574 } 567 575
Note: See TracChangeset
for help on using the changeset viewer.
