From 29cf20beaf237a996922433e89b5bed0e09c1e50 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Wed, 4 Aug 2021 12:00:48 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B03909=20Fix=20notification=20configuratio?= =?UTF-8?q?n=20help=20layout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/notifications.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/notifications.php b/pages/notifications.php index 2e49757e6..a5a12dc82 100644 --- a/pages/notifications.php +++ b/pages/notifications.php @@ -19,7 +19,7 @@ use Combodo\iTop\Application\UI\Base\Component\CollapsibleSection\CollapsibleSection; -use Combodo\iTop\Application\UI\Base\Component\Html\Html; +use Combodo\iTop\Application\UI\Base\Component\Html\HtmlFactory; use Combodo\iTop\Application\UI\Base\Layout\PageContent\PageContentFactory; require_once('../approot.inc.php'); @@ -41,7 +41,7 @@ $oP->SetContentLayout($oPageContentLayout); $sAlertTitle = Dict::S('UI:NotificationsMenu:Title'); $sAlertContent = Dict::S('UI:NotificationsMenu:HelpContent'); -$oConfigurationHelp = new CollapsibleSection($sAlertTitle, [new Html($sAlertContent)]); +$oConfigurationHelp = new CollapsibleSection($sAlertTitle, [HtmlFactory::MakeHtmlContent($sAlertContent)]); $oConfigurationHelp ->SetOpenedByDefault(true) ->EnableSaveCollapsibleState('notifications__home');