From ed357a615128d51943e3e6655e4a46f2864767f4 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Mon, 3 Oct 2016 13:36:04 +0200 Subject: [PATCH] fix login page and alert messages (cherry picked from commit 8484531080bf6b24c04ac1fcb692b79bc2267516) --- pandora_console/general/alert_enterprise.php | 2 +- pandora_console/general/login_page.php | 6 +++--- .../images/custom_logo_login/logo_login.png | Bin 3253 -> 0 bytes 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 pandora_console/images/custom_logo_login/logo_login.png diff --git a/pandora_console/general/alert_enterprise.php b/pandora_console/general/alert_enterprise.php index 79edd50361..668f1acdc8 100644 --- a/pandora_console/general/alert_enterprise.php +++ b/pandora_console/general/alert_enterprise.php @@ -84,7 +84,7 @@ switch ($tipo) { echo '

' . - __('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.') . '

' . '

' . __('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.') . diff --git a/pandora_console/general/login_page.php b/pandora_console/general/login_page.php index 686564513a..a1de85d1d5 100755 --- a/pandora_console/general/login_page.php +++ b/pandora_console/general/login_page.php @@ -89,7 +89,7 @@ echo '

'; echo ''; 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); } else{ @@ -97,7 +97,7 @@ echo '
'; } } 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); } else{ @@ -105,7 +105,7 @@ echo '
'; } } 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); } else{ diff --git a/pandora_console/images/custom_logo_login/logo_login.png b/pandora_console/images/custom_logo_login/logo_login.png deleted file mode 100644 index 0545d22bded7a969ea8b60fff2e239e643f19a82..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3253 zcmV;m3`+BfP)vI-J2*XClLoKc5&FcBuV_X<~#b-VdZ4KXk#GJX^Gf;fdec6T9!ysLdBNMuz}U*6B%y4+76BtP?jf{i?JC9 zidH{hp{a*dG+;?!4}caZGUClKQ1J5eRfgHeoUyvN#Q7Ej2MZsD1)vmwVmJ{lVjvW3 zNa`C=vIDsW!vMH`LAbnu2{{pe1Xd5o1`~=zbXOzS8t4%U%5Lvdt@dIKUtAXT>{SQ4 z_#@#WoPsotH5)S$$eqMkln69*0X7MM0HP@(rfdOKSOHk16oD>&K$hVoggwpz3|oX^ zZBUUKnb-=h^RPM(7XT$yab9g~1s3kq0xj&%V>1v`6~bybTmY7vku4zDw!xNp@D*gR zrUASy0SyiYZ0%8GaP!p;U@#20XAeR^5ioDs!Tqw%^Ot8iZ_Ed3&C_`ZV2@Jzw zH8m)CQBn)xayb|*J{5!_AqoKFYb zl|A)vHp8wPwWKwkNpUo2pe6^keT5Soy4%BW=uQv3$_LfV$jv7lbs6#9IAR=)t#wLl z$CQv>LLR`?=*K%)MT~<9bO!K_bP(Cf`v4s$Bivg7MQy6p9;!N+7!TlbJo-Sp1CZKJ z>Sz|V+Q7K_i8#!5L>?@6K$hWP;V0;5P$*N&(claW&Adba2jnK)2Gpp#NpRedlB9vJ z^dY9X2zNMoHH*&x&^!%n?10(;IjL+0c5QK_@dN0M<_UzNZSmJ$d>U09 zjhr+u0sAuO{TXyO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