mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
$this->head_html(log)$ and $this->head(log)$ now support both text and HTML case logs.
SVN:trunk[4136]
This commit is contained in:
@@ -2915,10 +2915,10 @@ class AttributeCaseLog extends AttributeLongText
|
||||
return $value->GetText();
|
||||
|
||||
case 'head':
|
||||
return $value->GetLatestEntry();
|
||||
return $value->GetLatestEntry('text');
|
||||
|
||||
case 'head_html':
|
||||
return '<div class="caselog_entry">'.str_replace( array( "\r\n", "\n", "\r"), "<br/>", htmlentities($value->GetLatestEntry(), ENT_QUOTES, 'UTF-8')).'</div>';
|
||||
return $value->GetLatestEntry('html');
|
||||
|
||||
case 'html':
|
||||
return $value->GetAsEmailHtml();
|
||||
|
||||
Reference in New Issue
Block a user