add new graphics/logos; theme dependent logos; layout fixes in forgot-password/reset-password sites;
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -187,8 +187,8 @@ if (is_array($_themeoptions) && (!array_key_exists('variants', $_themeoptions) |
|
||||
$hl_path = 'templates/' . $theme . '/assets/img';
|
||||
|
||||
// default is theme-image
|
||||
$header_logo = $hl_path . '/logo_white.png';
|
||||
$header_logo_login = $hl_path . '/logo.png';
|
||||
$header_logo = $hl_path . '/' . ($_themeoptions['variants'][$themevariant]['img']['ui'] ?? 'logo_white.png');
|
||||
$header_logo_login = $hl_path . '/' . ($_themeoptions['variants'][$themevariant]['img']['login'] ?? 'logo_white.png');
|
||||
|
||||
if (Settings::Get('panel.logo_overridetheme') == 1 || Settings::Get('panel.logo_overridecustom') == 1) {
|
||||
// logo settings shall overwrite theme logo and possible custom logo
|
||||
|
||||
Reference in New Issue
Block a user