mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 19:01:04 +01:00
Convert mail Date header to user timezone when being displayed on forward/replay header
This commit is contained in:
parent
ad84dfae97
commit
1bcc884e24
@ -2300,7 +2300,7 @@ class mail_compose
|
|||||||
$this->sessionData['body'] = /*"<br>".*//*" ".*/"<div>".'----------------'.lang("original message").'-----------------'."".'<br>'.
|
$this->sessionData['body'] = /*"<br>".*//*" ".*/"<div>".'----------------'.lang("original message").'-----------------'."".'<br>'.
|
||||||
@htmlspecialchars(lang("from")).": ".$fromAddress."<br>".
|
@htmlspecialchars(lang("from")).": ".$fromAddress."<br>".
|
||||||
$toAddress.$ccAddress.
|
$toAddress.$ccAddress.
|
||||||
@htmlspecialchars(lang("date").": ".$headers['DATE'],ENT_QUOTES | ENT_IGNORE,Mail::$displayCharset, false)."<br>".
|
@htmlspecialchars(lang("date").": ".Mail::_strtotime($headers['DATE'],'r',true),ENT_QUOTES | ENT_IGNORE,Mail::$displayCharset, false)."<br>".
|
||||||
'----------------------------------------------------------'."</div>";
|
'----------------------------------------------------------'."</div>";
|
||||||
$this->sessionData['mimeType'] = 'html';
|
$this->sessionData['mimeType'] = 'html';
|
||||||
if (!empty($styles)) $this->sessionData['body'] .= $styles;
|
if (!empty($styles)) $this->sessionData['body'] .= $styles;
|
||||||
@ -2332,7 +2332,7 @@ class mail_compose
|
|||||||
$this->sessionData['body'] = " \r\n \r\n".'----------------'.lang("original message").'-----------------'."\r\n".
|
$this->sessionData['body'] = " \r\n \r\n".'----------------'.lang("original message").'-----------------'."\r\n".
|
||||||
@htmlspecialchars(lang("from")).": ".$fromAddress."\r\n".
|
@htmlspecialchars(lang("from")).": ".$fromAddress."\r\n".
|
||||||
$toAddress.$ccAddress.
|
$toAddress.$ccAddress.
|
||||||
@htmlspecialchars(lang("date").": ".$headers['DATE'], ENT_QUOTES | ENT_IGNORE,Mail::$displayCharset, false)."\r\n".
|
@htmlspecialchars(lang("date").": ".Mail::_strtotime($headers['DATE'],'r',true), ENT_QUOTES | ENT_IGNORE,Mail::$displayCharset, false)."\r\n".
|
||||||
'-------------------------------------------------'."\r\n \r\n ";
|
'-------------------------------------------------'."\r\n \r\n ";
|
||||||
$this->sessionData['mimeType'] = 'plain';
|
$this->sessionData['mimeType'] = 'plain';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user