Bug #21697 ยป 12770.diff
typo3/sysext/cms/tslib/media/scripts/fe_adminLib.inc (working copy) | ||
---|---|---|
*/
|
||
function sendHTMLMail($content,$recipient,$dummy,$fromEmail,$fromName,$replyTo='') {
|
||
if (trim($recipient) && trim($content)) {
|
||
$parts = spliti('<title>|</title>',$content,3);
|
||
$parts = preg_split('/</?title>/i',$content,3);
|
||
$subject = trim($parts[1]) ? trim($parts[1]) : 'TYPO3 FE Admin message';
|
||
$Typo3_htmlmail = t3lib_div::makeInstance('t3lib_htmlmail');
|
typo3/sysext/cms/tslib/class.tslib_pibase.php (working copy) | ||
---|---|---|
}
|
||
// Split the "FROM ... WHERE" string so we get the WHERE part and TABLE names separated...:
|
||
list($TABLENAMES,$WHERE) = spliti('WHERE', trim($query), 2);
|
||
list($TABLENAMES,$WHERE) = preg_split('/WHERE/i', trim($query), 2);
|
||
$TABLENAMES = trim(substr(trim($TABLENAMES),5));
|
||
$WHERE = trim($WHERE);
|
||
... | ... | |
// NO extension of class - does not make sense here.
|
||
?>
|
||
?>
|
t3lib/class.t3lib_parsehtml_proc.php (working copy) | ||
---|---|---|
} else { //... but if NO subsection was found, we process it as a TRUE line without erronous content:
|
||
$subLines = array($subLines);
|
||
if (!$this->procOptions['dontConvBRtoParagraph']) { // process break-tags, if configured for. Simply, the breaktags will here be treated like if each was a line of content...
|
||
$subLines = spliti('<br[[:space:]]*[\/]?>',$v);
|
||
$subLines = preg_split('/<br\s*[\/]?>/i',$v);
|
||
}
|
||
// Traverse sublines (there is typically one, except if <br/> has been converted to lines as well!)
|