fixed error images open in header and login
This commit is contained in:
parent
709051d281
commit
e34517fb70
|
@ -32,6 +32,7 @@ config_check();
|
||||||
|
|
||||||
if (!defined ('PANDORA_ENTERPRISE')) {
|
if (!defined ('PANDORA_ENTERPRISE')) {
|
||||||
$logo_title = 'Pandora FMS Opensource';
|
$logo_title = 'Pandora FMS Opensource';
|
||||||
|
$custom_logo = 'images/custom_logo/pandora_logo_head_3.png';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (file_exists(ENTERPRISE_DIR . '/' . $custom_logo)) {
|
if (file_exists(ENTERPRISE_DIR . '/' . $custom_logo)) {
|
||||||
|
|
|
@ -105,13 +105,13 @@ echo '<div id="login_in">';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!isset ($config["custom_logo_login"])){
|
if (!isset ($config["custom_logo_login"]) || $config["custom_logo_login"] == 0){
|
||||||
html_print_image ("images/custom_logo_login/login_logo.png", false, array ("class" => "login_logo", "alt" => "logo", "border" => 0, "title" => $logo_title), false, true);
|
html_print_image ("images/custom_logo_login/login_logo.png", false, array ("class" => "login_logo", "alt" => "logo", "border" => 0, "title" => $logo_title), false, true);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
html_print_image ("images/custom_logo_login/".$config['custom_logo_login'], false, array ("class" => "login_logo", "alt" => "logo", "border" => 0, "title" => $logo_title), false, true);
|
html_print_image ("images/custom_logo_login/".$config['custom_logo_login'], false, array ("class" => "login_logo", "alt" => "logo", "border" => 0, "title" => $logo_title), false, true);
|
||||||
}
|
}
|
||||||
echo "<br><span style='font-size:120%;color:white;top:10px;position:relative;'>Community edition</span>";
|
echo "<br><span style='font-size:120%;color:white;top:10px;position:relative;'>Community edition</span>";
|
||||||
}
|
}
|
||||||
echo '</a>';
|
echo '</a>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue