Project

General

Profile

Bug #17922 » class.t3lib_htmlmail.patch

Administrator Admin, 2007-12-16 14:55

View differences:

class.t3lib_htmlmail.php 2007-12-16 14:53:20.000000000 +0100
$temp = $this->split_fileref($file);
if ($temp['file']) {
$fileInfo['filename'] = $temp['file'];
} elseif (strpos(' '.$fileInfo['content_type'], 'htm') {
} elseif (strpos(' '.$fileInfo['content_type'], 'htm')) {
$fileInfo['filename'] = 'index.html';
else {
} else {
$fileInfo['filename'] = 'unknown';
}
$this->theParts['attach'][] = $fileInfo;
......
*/
public function substMediaNamesInHTML($absolute) {
if (is_array($this->theParts['html']['media'])) {
foreach ($this->theParts['html']['media'] as $key, $val) {
foreach ($this->theParts['html']['media'] as $key => $val) {
if ($val['use_jumpurl'] && $this->jumperURL_prefix) {
$subst = $this->jumperURL_prefix.t3lib_div::rawUrlEncodeFP($val['absRef']);
} else {
......
* @return string the regular expression
*/
public function tag_regex($tags) {
$tags = (!is_array($tags) ? array($tags) ? $tags);
$tags = (!is_array($tags) ? array($tags) : $tags);
$regexp = '';
$c = count($tags);
foreach($tags as $tag) {
(2-2/6)