From 7120201469f9de5c2094288e5ca85cf1eda2259a Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 20 Aug 2019 09:53:11 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02311=20-=20Extend=20logout/error=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/loginwebpage.class.inc.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/application/loginwebpage.class.inc.php b/application/loginwebpage.class.inc.php index 07739d8376..3f5935c15f 100644 --- a/application/loginwebpage.class.inc.php +++ b/application/loginwebpage.class.inc.php @@ -436,7 +436,7 @@ EOF $this->add("\n"); } - public function DisplayLogoutPage($bPortal) + public function DisplayLogoutPage($bPortal, $sTitle = null) { $sUrl = utils::GetAbsoluteUrlAppRoot(); if ($bPortal) @@ -448,12 +448,19 @@ EOF $sUrl .= 'pages/UI.php'; } + if (empty($sTitle)) + { + $sTitle = Dict::S('UI:LogOff:ThankYou'); + } + + $sMessage = Dict::S('UI:LogOff:ClickHereToLoginAgain'); + $this->no_cache(); $this->DisplayLoginHeader(); $this->add("
\n"); - $this->add("

".Dict::S('UI:LogOff:ThankYou')."

\n"); + $this->add("

$sTitle

\n"); - $this->add("

".Dict::S('UI:LogOff:ClickHereToLoginAgain')."

"); + $this->add("

$sMessage

"); $this->add("
\n"); $this->output(); }