|
|
@ -947,10 +947,10 @@ function rcmail_create_forward_body($body, $bodyIsHtml)
|
|
|
|
$prefix .= rcube_label('from') . ': ' . $MESSAGE->get_header('from') . "\n";
|
|
|
|
$prefix .= rcube_label('from') . ': ' . $MESSAGE->get_header('from') . "\n";
|
|
|
|
$prefix .= rcube_label('to') . ': ' . $MESSAGE->get_header('to') . "\n";
|
|
|
|
$prefix .= rcube_label('to') . ': ' . $MESSAGE->get_header('to') . "\n";
|
|
|
|
|
|
|
|
|
|
|
|
if ($MESSAGE->headers->cc)
|
|
|
|
if ($cc = $MESSAGE->headers->get('cc'))
|
|
|
|
$prefix .= rcube_label('cc') . ': ' . $MESSAGE->get_header('cc') . "\n";
|
|
|
|
$prefix .= rcube_label('cc') . ': ' . $cc . "\n";
|
|
|
|
if ($MESSAGE->headers->replyto && $MESSAGE->headers->replyto != $MESSAGE->headers->from)
|
|
|
|
if (($replyto = $MESSAGE->headers->get('reply-to')) && $replyto != $MESSAGE->get_header('from'))
|
|
|
|
$prefix .= rcube_label('replyto') . ': ' . $MESSAGE->get_header('replyto') . "\n";
|
|
|
|
$prefix .= rcube_label('replyto') . ': ' . $replyto . "\n";
|
|
|
|
|
|
|
|
|
|
|
|
$prefix .= "\n";
|
|
|
|
$prefix .= "\n";
|
|
|
|
$body = trim($body, "\r\n");
|
|
|
|
$body = trim($body, "\r\n");
|
|
|
@ -973,15 +973,13 @@ function rcmail_create_forward_body($body, $bodyIsHtml)
|
|
|
|
rcube_label('from'), Q($MESSAGE->get_header('from'), 'replace'),
|
|
|
|
rcube_label('from'), Q($MESSAGE->get_header('from'), 'replace'),
|
|
|
|
rcube_label('to'), Q($MESSAGE->get_header('to'), 'replace'));
|
|
|
|
rcube_label('to'), Q($MESSAGE->get_header('to'), 'replace'));
|
|
|
|
|
|
|
|
|
|
|
|
if ($MESSAGE->headers->cc)
|
|
|
|
if ($cc = $MESSAGE->headers->get('cc'))
|
|
|
|
$prefix .= sprintf("<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">%s: </th><td>%s</td></tr>",
|
|
|
|
$prefix .= sprintf("<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">%s: </th><td>%s</td></tr>",
|
|
|
|
rcube_label('cc'),
|
|
|
|
rcube_label('cc'), Q($cc, 'replace'));
|
|
|
|
Q($MESSAGE->get_header('cc'), 'replace'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($MESSAGE->headers->replyto && $MESSAGE->headers->replyto != $MESSAGE->headers->from)
|
|
|
|
if (($replyto = $MESSAGE->headers->get('reply-to')) && $replyto != $MESSAGE->get_header('from'))
|
|
|
|
$prefix .= sprintf("<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">%s: </th><td>%s</td></tr>",
|
|
|
|
$prefix .= sprintf("<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">%s: </th><td>%s</td></tr>",
|
|
|
|
rcube_label('replyto'),
|
|
|
|
rcube_label('replyto'), Q($replyto, 'replace'));
|
|
|
|
Q($MESSAGE->get_header('replyto'), 'replace'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$prefix .= "</tbody></table><br>";
|
|
|
|
$prefix .= "</tbody></table><br>";
|
|
|
|
}
|
|
|
|
}
|
|
|
|