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:
commit
8761a28268
|
@ -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);
|
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 {
|
} 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/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);
|
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '</a></div>';
|
echo '</a></div>';
|
||||||
|
|
Loading…
Reference in New Issue