N°6370 - Replace Audit Category menu by a dashboard

This commit is contained in:
vdumas
2023-06-05 17:57:57 +02:00
parent 8eb1053daa
commit 652a9f6e40
5 changed files with 145 additions and 78 deletions

View File

@@ -869,7 +869,7 @@ class DashletPlainText extends Dashlet
public function Render($oPage, $bEditMode = false, $aExtraParams = array())
{
$sText = $this->aProperties['text'];
$sText = utils::EscapeHtml($sText);
$sText = utils::EscapeHtml(Dict::S($sText));
$sText = str_replace(array("\r\n", "\n", "\r"), "<br/>", $sText);
$sId = 'plaintext_'.($bEditMode ? 'edit_' : '').$this->sId;