fix login page and alert messages

This commit is contained in:
enriquecd 2016-10-03 13:36:04 +02:00
parent e8a8204c77
commit 8484531080
3 changed files with 4 additions and 4 deletions

View File

@ -84,7 +84,7 @@ switch ($tipo) {
echo echo
'<p>' . '<p>' .
__('The Uppdate Manager client is included on Pandora FMS. It helps system administrators update their Pandora FMS automatically, since the Update Manager retrieves new modules, new plugins and new features (even full migrations tools for future versions) automatically.') . __('The Update Manager client is included on Pandora FMS. It helps system administrators update their Pandora FMS automatically, since the Update Manager retrieves new modules, new plugins and new features (even full migrations tools for future versions) automatically.') .
'</p>' . '</p>' .
'<p>' . '<p>' .
__('<b>OpenSource version updates are automated packages generated each week. These updates come WITHOUT ANY warranty or support. If your system is corrupted or a feature stops working properly, you will need to recover a backup by yourself.</b>') . __('<b>OpenSource version updates are automated packages generated each week. These updates come WITHOUT ANY warranty or support. If your system is corrupted or a feature stops working properly, you will need to recover a backup by yourself.</b>') .

View File

@ -89,7 +89,7 @@ echo '<div id="login_in">';
echo '<a href="' . $logo_link . '">'; echo '<a href="' . $logo_link . '">';
if (defined ('METACONSOLE')) { if (defined ('METACONSOLE')) {
if (!isset ($config["custom_logo"])){ if (!isset ($config["custom_logo_login"])){
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{
@ -97,7 +97,7 @@ echo '<div id="login_in">';
} }
} }
else if (defined ('PANDORA_ENTERPRISE')) { else if (defined ('PANDORA_ENTERPRISE')) {
if (!isset ($config["custom_logo"])){ if (!isset ($config["custom_logo_login"])){
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{
@ -105,7 +105,7 @@ echo '<div id="login_in">';
} }
} }
else { else {
if (!isset ($config["custom_logo"])){ if (!isset ($config["custom_logo_login"])){
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{

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB