mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
implement the possibility to return multiple lines on get_message for tracking; allow transformation of --- into horizontal rule on html on get_message
This commit is contained in:
parent
d244ab7c79
commit
2f25201e72
@ -972,7 +972,10 @@ abstract class bo_tracking
|
||||
// new or modified message
|
||||
if (($message = $this->get_message($data,$old,$receiver)))
|
||||
{
|
||||
$body .= $this->format_line($html_email,'message',false,$message);
|
||||
foreach ((array)$message as $k => $_message)
|
||||
{
|
||||
$body .= $this->format_line($html_email,'message',false,($_message=='---'?($html_email?'<hr/>':$_message):$_message));
|
||||
}
|
||||
}
|
||||
if ($integrate_link && ($link = $this->get_link($data,$old,false,$receiver)))
|
||||
{
|
||||
@ -1082,7 +1085,7 @@ abstract class bo_tracking
|
||||
}
|
||||
else
|
||||
{
|
||||
$content .= ($content?': ':'').$data;
|
||||
$content .= ($content&&$data?': ':'').$data;
|
||||
}
|
||||
if ($html_mail) $content .= '</td></tr>';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user