Merge branch '222-imagen-de-login-desaparece-en-opensource-en-v777lts' into 'develop'

Resolve "Imagen de login desaparece en Opensource en v777LTS."

See merge request artica/pandorafms!7460
This commit is contained in:
Enrique Martin 2024-09-27 11:57:49 +00:00
commit 8761a28268
1 changed files with 2 additions and 6 deletions

View File

@ -244,12 +244,8 @@ if (is_metaconsole() === true) {
html_print_image(ui_get_full_url('enterprise/images/custom_logo_login/'.$config['custom_logo_login']), false, ['class' => 'login_logo', 'alt' => 'logo', 'border' => 0, 'title' => $logo_title], false, true);
}
} else {
if ($config['custom_logo_login'] === 'Pandora-FMS-1.png') {
$theme_logo = ($config['style'] === 'pandora') ? 'images/custom_logo_login/Pandora-FMS-alt-black.png' : 'images/custom_logo_login/'.$config['custom_logo_login'];
html_print_image(ui_get_full_url($theme_logo), false, ['class' => 'login_logo', 'alt' => 'logo', 'border' => 0, 'title' => $logo_title], false, true);
} else {
html_print_image(ui_get_full_url('images/custom_logo_login/'.$config['custom_logo_login']), false, ['class' => 'login_logo', 'alt' => 'logo', 'border' => 0, 'title' => $logo_title], false, true);
}
$theme_logo = ($config['style'] === 'pandora') ? 'images/custom_logo_login/Pandora-FMS-alt-black.png' : 'images/custom_logo_login/Pandora-FMS-1.png';
html_print_image(ui_get_full_url($theme_logo), false, ['class' => 'login_logo', 'alt' => 'logo', 'border' => 0, 'title' => $logo_title], false, true);
}
echo '</a></div>';