Project

General

Profile

Feature #14851 » bug1268.diff

Administrator Admin, 2005-07-15 11:36

View differences:

typo3/sysext/cms/tslib/class.tslib_fe.php 2005-07-15 11:35:45.000000000 +0200
* @see t3lib_div::plainMailEncoded()
*/
function plainMailEncoded($email,$subject,$message,$headers='') {
global $LANG;
$urlmode=$this->config['config']['notification_email_urlmode']; // '76', 'all', ''
if ($GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset'] && $this->config['config']['notification_email_charset'] && $GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset']!=$this->config['config']['notification_email_charset']) {
$message = $this->csConvObj->conv($message, $this->csConvObj->parse_charset($GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset']), $this->csConvObj->parse_charset($this->config['config']['notification_email_charset']), 1);
$subject = $this->csConvObj->conv($subject, $this->csConvObj->parse_charset($GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset']), $this->csConvObj->parse_charset($this->config['config']['notification_email_charset']), 1);
}
if ($urlmode) {
$message=t3lib_div::substUrlsInPlainText($message,$urlmode);
}
(2-2/3)