N°3363 - Add favicon in branding (#522)

This commit is contained in:
Anne-Catherine
2024-02-28 09:59:11 +01:00
committed by GitHub
parent baa05ba8d4
commit 1394bc221d
13 changed files with 161 additions and 35 deletions

View File

@@ -41,7 +41,7 @@ class UnauthenticatedWebPage extends NiceWebPage
private $sContent;
private $sPanelTitle;
private $sPanelIcon;
// TODO 3.0 Find a clever way to allow theme customization for unauthenticated webpages
private $sCustomThemeUrl;
@@ -288,4 +288,13 @@ class UnauthenticatedWebPage extends NiceWebPage
$this->add_linked_stylesheet($this->sCustomThemeUrl);
}
}
/**
* @inheritDoc
* @since 3.2.0
*/
protected function GetFaviconAbsoluteUrl()
{
return Branding::GetLoginFavIconAbsoluteUrl();
}
}